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

Re: Catch up a odata filter query

$
0
0

Hello Danillo,

 

There is a very standard way of doing this.

If you want to show the list of items in a table as count in the Icon Tab Bar filter then do as follows -

 

1. Attach a method to the updateFinished event handler of table as -

 

updateFinished="onUpdateFinished"

 

2. Code for the method as -

 

onUpdateFinished: function(oEvent) {

  // update the worklist's object counter after the table update

  var sTitle,

  oTable = oEvent.getSource(),

  iTotalItems = oEvent.getParameter("total");

 

oTabFilter.setCount(iTotalItems);

 

  }

 

BR.


Viewing all articles
Browse latest Browse all 2801


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