Appframe Knowledge Base

1 hits

How to get number of rows

//will return the number of rows available / loaded
//it will not return the total number of rows the table/view contains
//if you want the total number of rows, you need to set maxRecords to -1 and reload first

// ds.getData() is a heavy operation, so if you are going to iterate over a limited number of rows,
// use ds.getDataLength() and ds.getData(index) for much better performance.

components dataobject web · Perma link post comment Posted by: Øystein Kaldestad (12-apr-2013)