Skip to Content
0

sap.m.Table: Fixed Header with selection mode

May 17 at 12:01 PM

32

avatar image
Former Member

Hi ,

I am trying to do fixed header my in sap.m.Table. I found the solution from the thread https://archive.sap.com/discussions/thread/3611874 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.

Regards,

Priya

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
0

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: https://embed.plnkr.co/CGoVm0E3WDhOywIW0R4w/


Share
10 |10000 characters needed characters left characters exceeded