3.2.0

getRowCount() returns 0 with CSV model

// write grid html to the page
document.write(obj);
var value = obj.getRowIndices();
alert(value); // returns 0

Please advise.
Michael
June 13,
getRowCount() initially returns 0 with CSV model because the data request runs asynchronously by default.

getRowIndices() returns null if the row order did not change, i.e. the row index == row position (0,1,2...).
Alex (ActiveWidgets)
June 14,
Hi Alex! Thank you for taking a look. It would be nice to get the RowCount after the data is loaded so I can loop over and do smth.
Is there a way to loop over a collection of rows in the grid?

Many thanks in advance,

--Michael
June 14,

This topic is archived.

See also:


Back to support forum