function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
sbnovasbnova 

PDF table header background color

Hi,

 

I have a visualforce page that I renderAs PDF.  I have two related lists that I would like to display on the PDF and would like the first column (header) to have a background color.  When I try to use <apex:dataTable> or <apex:pageBlockTable> the background only highlights the text (not the entire column header).   Anyone know how to work around this?

 

Sonam_SFDCSonam_SFDC

Hey Scott,

 

Found this solution provided on the post, worth giving a read:

http://boards.developerforce.com/t5/Apex-Code-Development/Not-getting-background-color-in-PDF/td-p/327249

 

Hope this helps!