Skip to Content

Freeze first column in sap.ui.table

Dear Experts,

I have an SAP UI5 app where the first column of a grid table should be frozen for mobile devices as per the requirement from a customer. For example - https://sapui5.hana.ondemand.com/explored.html#/sample/sap.ui.table.sample.TableFreeze/preview

But I'm unable to do it because the freezing property fixedColumnCount works only for the UI5 version 1.30 and above. How I know this is by giving the resources URL in index.html - https://sapui5.hana.ondemand.com/1.30.10/resources/sap-ui-core.js

Since the customer landscape for the moment has UI5 version 1.28.34 (planning to upgrade soon) the table is not working accordingly. Here's JS bin example of my app - https://jsbin.com/gokiveroxu/edit?html,js,console,output

Appreciate all the help.

Thanks and Regards,

Prerana

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Jan 10, 2017 at 01:53 PM

    we are on 1.28, that property works for us at least for desktop.

    Add comment
    10|10000 characters needed characters exceeded

  • Jan 11, 2017 at 03:44 AM

    https://jsbin.com/ragoxefoga/1/edit?html,js,output

    even your jsbin example is working, why you are saying it is not working?

    Add comment
    10|10000 characters needed characters exceeded