cancel
Showing results for 
Search instead for 
Did you mean: 

Vertical and Horizontal scroll bar in UI5 Smart table

kasarla_nagaraju
Explorer
0 Kudos
Hi,

My application has a smart table for displaying few fields, I also had to include normal Table for making two of the columns editable. Below is dummy code to give you an idea.

<Smart table displayinitialfileds= "field1,field2">
<Table><Field3 editable="true"/><Field4 editable="true"/><Table><Smart table>

Now the question is how will i get the vertical and horizontal scroll bars for the table? I 
want the header and tool bar to stay on top when i scroll down.

I've added scroll bar at page level but the Column Header and Toolbar are not sticking when I
scroll  down

Accepted Solutions (0)

Answers (1)

Answers (1)

maheshpalavalli
Active Contributor
0 Kudos

You will want vertical scroll with sticky header and toolbar and if you want your table to repsonsive, see the link below: this feature is only available in latest UI5 version, you can check in API reference for that..

https://ui5.sap.com/#/sample/sap.ui.comp.sample.smarttable.mtableSticky/preview

If you want both horizontal and vertical scroll simply use grid table:

https://ui5.sap.com/#/sample/sap.ui.comp.sample.smarttable/preview

BR,

Mahesh