Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

TreeTable threshold for data rows not working?

I have implemented a treetable using a JSON model and it appears that the Table threshold setting does nothing and always defaults to  loading only 100 parent rows into my table. 

My current dataset has 161 records, so it gets truncated at 100 rows and I am not able to view the remaining 61 rows.  I have created a JSBin to show the issue:  http://jsbin.com/kuvelu/8/edit

If you look at the static JSON in the bin, you'll see that record 99 is the last record visible in the table.   I have tried changing the threshold and the visible row count and I cannot get the table to show more (or less) than 100 rows. 

I am referencing the latest SAPUI5 Libraries on sapui5.hana.ondemand.com, so as of this writing it is 1.26.5.   Is this a bug or am I doing something wrong? 

Should I be using paging so that it loads more data on scroll? 

Thank you for any assistance

Jim Giffin

replied

oModel.setSizeLimit(200);

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question