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

PDF table header background color



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?



Hey Scott,


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


Hope this helps!