getNumRows when smart rendering... urgent plz.

Hi,
mygrid is loaded perfectly, i have used smartrendering. i want to get rowcount(getNumRows ) when scroll down.

mygrid.enableSmartRendering(true,20);

initially grid loaded with 20 rows, when scolldown i hope it will increase like 20,40,60.
so i want to get that getNumRows after rendering…

please help me…

thank you.

getRowsNum will return total ( expected ) count of row in the grid.
There is no API to get count of really loaded rows ( you can iterate through grid.rowsBuffer collection and count not-null values if this information is necessary )