openui5
openui5 copied to clipboard
Openui 5 table How to freeze the header, not with the vertical scroll bar and scroll
Openui 5 table How to freeze the header, not with the vertical scroll bar and scroll
ColumnListItem
this can be achieved by adding a CSS style to the header which uses "position:sticky" however, the sticky position is not yet a completely supported W3C standard.
Currently, it does not work in Ms Internet Explorer, nor Edge.
You can try third party libraries like jquery stickyTableHeader
or you can create 2 tables:
- one to show the header
- second (nested in a scrollcontainer with height set to 100%) to show the contents
also: view this comment: https://github.com/SAP/openui5/issues/1741#issuecomment-339293159
thank you