Page 1 of 1

react datatable "how could I set the row height"?

Posted: 01 Oct 2021, 15:54
by TheVoid
Hi,
could somebody give me please a hint how to set the row height of a datatable.

Something like font + 4px

Best wishes
Jürgen

Re: react datatable "how could I set the row height"?

Posted: 21 Oct 2021, 20:56
by Melloware
Use CSS and set height to whatever your want...

Code: Select all

.p-datatable .p-datatable-tbody > tr > td {
   height: 16px;
}