Solved

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

Posted on 2014-04-15
2
701 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
Comment Utility
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
Comment Utility
Thanks
0

Featured Post

Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

Join & Write a Comment

Suggested Solutions

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.

763 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

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now