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

Re: how to get length of table loaded from oData/JSON model

$
0
0

Neither of them. The events are both fired on the binding (actually, they are called change and dataReceived, my previous post wasn't correct here).

So you'd need to do something like:

oBinding = oTable.getBinding("items");

oBinding.attachDataReceived(function() {

     var iLength = oBinding.getLength();

     // Update UI elmennts based on iLength

});

- Max


Viewing all articles
Browse latest Browse all 8088

Trending Articles



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