3 Replies Latest reply: Sep 19, 2016 12:08 AM by Abhiram Nirmalan RSS

    How to access ALL data from an object

    Tobias Scholl

      Hey there,

      I have a problem to access data from a large table via an extension.

       

      When I want to access the data, I can only read the first 40 rows, although the table has hundreds of rows.

      My code is as follows:

       

      var lb = doc.GetObject("TB01"); // the  table object

           lb.SetOnUpdateComplete(function() { // when data is loaded

                              console.log(lb.Data.Rows.length]); // always 40

                                  for (var i = 0; i<lb.Data.Rows.length; i++) {

                                          //…..

                      }                   

      });

       

      Does anyone have a clue, how to access the data of the 41th …XXth row?
      Thx