Skip to Content
avatar image
Former Member

sap.m.Table: Fixed Header with selection mode

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.



Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

1 Answer

  • May 17, 2018 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:

    Add comment
    10|10000 characters needed characters exceeded