Code: Select all
<p-dataTable [scrollable]="true" ></p-dataTable>
See this link for an example.
https://imgur.com/a/890EC
Thanks, Mark
Code: Select all
<p-dataTable [scrollable]="true" ></p-dataTable>
Code: Select all
Then the columns headings are font-size: 16px instead of inheriting the body font size of 14px. This is because the header is nested inside a "ui-widget-header" and is inheriting the extra font-size from that
Users browsing this forum: No registered users and 19 guests