Skip to Content

sap.m.Table: Fixed Header with selection mode

May 17 at 12:01 PM


avatar image
Former Member

Hi ,

I am trying to do fixed header my in sap.m.Table. I found the solution from the thread but this is working only for tables without selection mode and i want to do for table with multi selection mode. SAP has added a table property sticky in the version 1.54 to make the column header fixed. My current system version is 1.44 and this solution is not working.

Please suggest how i can achieve fixed header with selection mode in lower SAPUI5 version.



10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Srikanth KV May 17 at 05:37 PM

trick is to set the ScrollContainer height value.

Also note that when you set ScrollContainer height value as % then the parent container where this ScrollContainer is available should have the property 'height' set a fixed value like % or em or rem etc (from SAP Documentation)

Sample Plunker code:

10 |10000 characters needed characters left characters exceeded