Default height Line in <p:dataTable/>

Posts: 19
Joined: 06 Jul 2015, 22:53

27 Jul 2015, 18:55

I would like to decrease the default Line height when using <p:dataTable/> in Rio. I need to display more lines in my screen. Can this be done?
Thank you.

Posts: 4316
Joined: 29 Jun 2013, 12:38

29 Jul 2015, 09:04

I think you can try with;

Code: Select all

.myDataTable.ui-datatable table tbody tr td {
   line-height: ...
Or you can change the value of font-size;

Code: Select all

.myDataTable.ui-datatable table tbody tr td { 
  font-size: 12px;
<p:dataTable styleClass="myDataTable" ../>


Return to “Rio”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 1 guest