Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

sap ui table max rows visible

Tags:

xml

sapui5

I have an OpenUI5 xml view with 2 tables beneath each other.

I want the first one to display 5 rows at a time and the second one to display 20 rows.

What property do I need to set to get this?

EDIT: I'm using a sap.ui.table not the sap.m.table

like image 552
Jungkook Avatar asked Apr 10 '26 16:04

Jungkook


1 Answers

To paginate a table these 3 properties are needed:

growing="true"
growingThreshold="5"
growingScrollToLoad="false"

growing: enables pagination
growingThreshold: maximum rows in one page
growingScrollToLoad: set to false to display page numbers (if this value is true, a lazy loading is implemented)

like image 179
Thomas L. Avatar answered Apr 12 '26 08:04

Thomas L.



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!