Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 8436

Re: Table paging for JSON model

$
0
0

Redefine JSONModel method bindList:

 

sap.ui.model.json.JSONModel.prototype.bindList = function(sPath, oContext, aSorters, aFilters, mParameters) {  var oBinding = new your.own.implementation.of.JSONListBinding(this, sPath, oContext, aSorters, aFilters, mParameters);  return oBinding;
};

and in  your.own.implementation.of.JSONListBinding redefine

 

sap.ui.model.json.JSONListBinding.prototype.getContexts = function(iStartIndex, iLength) {

your.own.implementation.of.JSONListBinding


Viewing all articles
Browse latest Browse all 8436

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>