Page 1 of 1

Default height Line in <p:dataTable/>

Posted: 27 Jul 2015, 18:55
by cesarbremer
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.

Re: Default height Line in <p:dataTable/>

Posted: 29 Jul 2015, 09:04
by mert.sincan
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" ../>