Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Michael Gordon on May 09, 2008 15:30
open dhtmlx forum
Total Row Count

Hey,
Is there a way to get the total number of rows? I'm specifing in my xml via total_count, but getRowsNum() will only return the number of rows actually loaded into the grid and not the total number available.

Thanks,
Michael
Answer posted by Support on May 12, 2008 03:09
The issues will be fixed in oncoming updated ( getRowsNum will return total number of rows )
In case of SmartRendering mode you can use next approach
    var stat = grid.getStateOfView();
    var total = stat[2];