Solved

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

Posted on 2014-04-15
2
762 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

Resolve Critical IT Incidents Fast

If your data, services or processes become compromised, your organization can suffer damage in just minutes and how fast you communicate during a major IT incident is everything. Learn how to immediately identify incidents & best practices to resolve them quickly and effectively.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
stringclean challenge 26 76
micro services spring boot application error 3 232
servlet  URL Rewriting 1 42
Setup GlassFish 4 21
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 second of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers the basic installation and configuration of the test automation tools used by…
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.

791 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