Primeng: Table Scrollable - not scrolling headers (horizontal)

Created on 5 Feb 2019  路  2Comments  路  Source: primefaces/primeng

This can be demonstrated on the example page:

https://www.primefaces.org/primeng/#/table

It only scrolls the 'data' - not the header row when scrolling horizontal (try to scroll the header to move the data, it only scrolls when over the table rows vs. header rows)

One major impact is when you are scrolling and enter a filter where there is no data, you cannot scroll back to the header column and remove or change the filter

Most helpful comment

My fix is the following, and not sure why this isn't how it's done in primeng?

ui-table-scrollable-view set this to overflow:auto;

remove overflow from ui-table-scrollable-header and ui-table-scrollable-body

All 2 comments

My fix is the following, and not sure why this isn't how it's done in primeng?

ui-table-scrollable-view set this to overflow:auto;

remove overflow from ui-table-scrollable-header and ui-table-scrollable-body

Unable to replicate with PrimeNG 9, if the issue persists please create a new ticket with a test case reproducing the issue e.g. stackblitz or a github repo and it will be reviewed by our team once again.

Was this page helpful?
0 / 5 - 0 ratings