Grid rows count and cycle

Please, can you explain a method to count the number of rows in a grid (ver. 5 getRowsNum) and to act on every row (ver. 5 forEachRow) ? Maybe I wasn’ t able to find something similar in the docs.

EDIT: is it correct to use grid.data.getLength and grid.data.forEach ?

Yes, your edit contains the correct methods. The grid data is a DataCollection object, which has its own API, now separated from the grid object itself.

1 Like