Page 1 of 1

Apply grid lines on small table

Posted: 23 Nov 2021, 01:26
by Admir
Any chance to apply gridlines in small table
My table is styleClass="p-datatable-sm" and it nicely shrink table to display more data.
But I'll love to have and grid lines on that table, same way we get gridlines using style class p-datatable-gridlines
I did try to apply booth styleClass on table but I without success.

My Angular is on version 12 and PrimeNG is on version 12, I am using Omega template

Re: Apply grid lines on small table

Posted: 30 Nov 2021, 09:09
by merve7
Hi,

Yes, of course, you can see it in the live demo.
Could you send me your code and screenshot including the gridline class from the developer tool like the below ss?

Image

Best regards,
Merve Özçifçi