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
Priya Prem 7Priya Prem 7 

Rules in Visualforce page

I want to display a table with just vertical lines in-between and not the horizontal lines, I am using Rules=‘cols” in the apex:dataTable but both vertical and horizontal line are displayed.  <apex:dataTable value=“tablelist" var="bl" cellpadding="5" border="2" rules=“cols”>.
TJ McDowellTJ McDowell
You can define your own CSS for the table instead of specifying padding,border, etc.  Take a look at this example.  Probably lots of other good examples on Google too - http://sfdcsrini.blogspot.com/2014/07/data-table-with-custom-styles-in.html
 
Priya Prem 7Priya Prem 7

Thank you TJ for taking time to repond to this question, I tried using style "border-left: 1px solid black" and it worked fine.