2 Replies Latest reply: Jan 9, 2018 5:59 AM by Pablo Calzavara Pinton RSS

    Qlik sense Mashup getMoreData Example of use

    Pablo Calzavara Pinton

      Hi, i can't figured out how to use correctly the getMoreData method; anyone has an example of how to use it? I have tried to use the example that i found in the sense-developers but i get an error. How have i to combine the code of this method with the code of gedata method?

      code of getMoreData method:

      <button ng-if="fieldMonth.rowCount>fieldMonth.rows.length" qva-activate="fieldMonth.getMoreData()">More</button>

      code of getData method:

      var myField = app.field("Month").getData(); myField.OnData.bind( function(){ myField.rows.forEach(function(row){ console.log(row.qElemNumber); }); });