Skip to Content
avatar image
Former Member

How to enable permanent horizontal scrollbar (like in SAPUI5 explored example)

Hello Experts,

I am pretty new in SAPUI5 developing and at the moment I am facing a problem with horizontal scrollbar behavior.

At the moment I implemented a Grid Layout followed by a Scroll Container and a Table with 17 columns. As the table is too wide for low resolution displays I need a horizontal scrollbar to make all content accessible for the users.

By implementing the Scroll Container a horizontal scrollbar appears at the very end of the screen. However the user has to scroll all the way down in order to scroll horizontally.

I am looking for a solution, where the horizontal scrollbar is displayed permanently if the display resolution is not high enough. A good example for my desired behavior is the table sample (grid table) shown at SAPUI5 Explored.

To get a better understanding of my current implementation you will find code extraction attached.


Any hints how I could solve this issue smoothely?



Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Best Answer
    May 08, 2017 at 05:08 AM


    It would be better if you use the grid table itself only for your requirement, where it handles the horzontal scroll bar automatically and you get the benifits like fixed column while scrolling.. Please let me us know if you have any issues with grid table...

    Best Regards,

    Add comment
    10|10000 characters needed characters exceeded

  • May 05, 2017 at 01:46 PM

    table has its own scroll bar, you don't have to do anything for that.

    Add comment
    10|10000 characters needed characters exceeded