DHTMLX Docs & Samples Explorer

getRowsNum()

Required library edition: This method works with any edition of DHTMLX library
Required library file: dhtmlxgrid.js

returns the number of rows in the grid (in case of dynamic mode it will return expected number of rows)

var count=mygrid.getRowsNum();

See also: getColumnsNum, forEachRow