Required library edition:
Required library file: dhtmlxgrid.js
returns count of row in grid (in case of dynamic mode it will return expected count of rows)
var count=mygrid.getRowsNum();
Note: in case of dynamic loading this method returns number of expected rows in grid.
See also: getColumnsNum, forEachRow