Advertisement
Guest User

test

a guest
Sep 4th, 2015
182
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"></script>
  2.    
  3. <apex:pageBlockSection title="My Report" id="MyReport" columns="1" />
  4.    
  5. <script language="JavaScript">
  6.     $('[id$="MyReport"] > .pbSubsection > .detailList').load('/00Oi000000wxyz?pv0={!Contact.id}&isdtp=nv table.reportTable.matrixReportTable');
  7. </script>
  8.    
  9. <style type="text/css">
  10.     [id$="MyReport"] > .pbSubsection {
  11.         margin-top:10px;
  12.     }
  13.     [id$="MyReport"] >.pbSubsection tr:first-of-type td, [id$="MyReport"] >.pbSubsection tr:first-of-type th {
  14.         border-top:1px solid rgb(212, 218, 220)!important;
  15.     }
  16.     [id$="MyReport"] > .pbSubsection th, [id$="MyReport"] > .pbSubsection td {
  17.         font-size: 12px;
  18.         padding:3px 6px 3px 5px;
  19.         background-color:#fff;            
  20.         border-color:rgb(212, 218, 220)!important;
  21.         border-bottom:1px solid rgb(212, 218, 220)!important;
  22.     }  
  23.     [id$="MyReport"] > .pbSubsection th {
  24.         background-color:#eee;
  25.     }
  26.     [id$="MyReport"] > .pbSubsection .grandTotal {
  27.         background-color:rgb(212, 218, 220);
  28.     }
  29.     [id$="MyReport"] > .pbSubsection .drilldown {
  30.         display:none;
  31.     }
  32. </style>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement