Skip to Content

sap.m.table and scroll container

Hi All,

I am working on a sample application. and I am using sap.m.Table with growing feature and growingthrshold=4 growingScrollToLoad=true . This is working fine.

However I need to Fix the table header. I followed

But nothing seems changing. Below is structure in view file

1. Page --- tried setting enableScrolling= false. [Because enableScrolling=false.. Even the First tab contents are not scrollable]

2. IconTabbar : It has two tabs

3. IcontabFilter : History tab is contained here

4. Table. History table is here

I have surrounded Table within iconTabFilter with scrollContainer and provided height=80% to scrollContainer . But no scroll bar appears.

Any pointers will be helpful. SAPUi version is 1.28




Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • May 07, 2018 at 09:16 AM

    Do you want column headers to stick ?? if yes check out this property of sap.m.table ..



    Add comment
    10|10000 characters needed characters exceeded

    • Two things :

      first of all always be updated .. dont restrict the sapui5 lib to specific version .. design your code which should be version independent.

      And Second the link which you have mentioned in your question is not the correct way of implementation for this its just a workaround , I also did the same for one the client past 2-3 years back. it increased the maintenance as there are two tables involved ..

      But if you don't want to change the version than go ahead with the you link shared solution ..