Solved

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

Posted on 2014-04-15
2
814 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Containers and Docker for Everyone

Containers are an incredibly powerful technology that can provide you and/or your engineering team with huge productivity gains. Using containers, you can deploy, back up, replicate, and move apps and their dependencies quickly and easily.

Question has a verified solution.

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

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…
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.

707 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