odata - Table dynamic loading SAPUI5 / UI5 -



odata - Table dynamic loading SAPUI5 / UI5 -

i want display huge set of info in sapui5-table component. used implement these datatables dynamically loading, means table loaded ~50 records. after user scrolled downwards far enough, next set of 50 records loaded table. way possible me display table of more 160.000 entries without performance issues.

now need same sapui5-table. implemented server side, odata service ready use. implemented clientside without dynamic loading. page trys load records out of database.

how can accomplish this? there premade way implement this? know odata service can called various parameters specify dataset deliver, dont know how create table these calls while scrolling?

generally, table bound odata model of you.

if you´re using sap.m.table can take @ growing properties here.

an illustration on how utilize paging sap.m.table can found in explored app in list section.

using sap.ui.table.table threshold property controls fetch size , described here. additionally can take navigationmode. can paginator scrollbar.

a simple illustration sap.ui.table.table looks this:

var omodel = new sap.ui.model.odata.odatamodel("<yoururl>", true); var otable = new sap.ui.table.table({ columns : [], //set columns usual threshold : 50 //your fetch size here }); otable.setmodel(omodel).bindrows("/<yourentity>");

table odata sap sapui5

Comments

Popular posts from this blog

formatting - SAS SQL Datepart function returning odd values -

c++ - Apple Mach-O Linker Error(Duplicate Symbols For Architecture armv7) -

php - Yii 2: Unable to find a class into the extension 'yii2-admin' -