Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

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

Posted on 2014-04-15
2
Medium Priority
?
888 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 600 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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

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…
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
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.
Suggested Courses

610 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