Solved

How NOT TO SHOW grid lines and alternate color rows in p:dataTable

Posted on 2014-04-15
2
751 Views
Last Modified: 2014-04-30
I have this p:dataTable. Right now when I display on a browder by default it shows the grid lines and the alternate colors in rows (write and light gray). I am not doing anything in my
<p:dataTable> jsf component to display these. But yet they display.

HOW DO I GET RID OF GRID LINES ANDCOLOR ALTERNATING IN ROWS.?
0
Comment
Question by:prain
2 Comments
 
LVL 35

Accepted Solution

by:
girionis earned 150 total points
ID: 40014465
You have to use the class below for the specific table

.ui-datatable .ui-datatable-data td, .ui-datatable .ui-datatable-data-empty td {
                    border-style: none;
     }

Open in new window


For more information have a look here.

For alternative colours in rows you will have to use the rowStyleClass attribute.
0
 

Author Closing Comment

by:prain
ID: 40033371
Thanks
0

Featured Post

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
for loop with Set 4 50
array6 challenfge 6 101
ArrayIndexOutOfBoundException 9 82
tomcat not starting 6 45
I had a project requirement for a displaying a user workbench .This workbench would consist multiple data grids .In each grid the user will be able to see a large number of data. These data grids should allow the user to 1. Sort 2. Export the …
Introduction This article is the first of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article explains our test automation goals. Then rationale is given for the tools we use to a…
The viewer will learn how to implement Singleton Design Pattern in Java.
This tutorial covers a practical example of lazy loading technique and early loading technique in a Singleton Design Pattern.

777 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question