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
Abhijeet Purohit01Abhijeet Purohit01 

How can I draw vertical lines in an apex table


I am unable to display dark inner column(vertical) single line borders.


I have used:





Also, is there any way to repeat column headers in a table for every page when we take print-out?
I have used a .css file with code in it as:

@media print{



and used it using the style tag as

<apex:styleSheet value="{!$Resource.fileName}"/>



Can anyone help?

Abhijeet Purohit01Abhijeet Purohit01


I have used rules="cols", rules="all" and rules="groups"


in the <apex:pageBlockTable>..... But when I take the print-out, vertical lines never appear in the hardcopy.




are the rows properly displaying on screen?

In my case they do not even appear in screen, using this syntax:


<apex:pageBlockTable value="{!SKUSequences}" var="c" id="scheduletable" rules="cols">  


If you found a solution, can you please share that?

Thans a lot