Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted on Dec 15, 2009 03:38
open dhtmlx forum
Total Row Count

Hello,

I am taking the count of the rows and the sum of price column of dhtmlxgrid. I am getting the proper output then only when sum of the rows are less that 100 and If total number of rows are exceds that 100 the It gives me an error.
i.e c.childNodes ha no property in dhtmlxgrid.js file

Please reply me as soon as possible.

Thanks
Suraj
Answer posted by dhxSupport on Dec 15, 2009 05:25
Are you using dynamic or static smart rendering mode? Total rows counter can work only with static loading (all rows are loaded at once)
Answer posted on Dec 15, 2009 05:48
Hi,

    If I have 300 records and which are coming from the database. So how can I take the count as the rows are coming dynamically from the database
Please reply me as soon as possible.

Thanks
Suraj
Answer posted by Stanislav (support) on Dec 15, 2009 07:25
If you are using dyn. loading - it not possible to calculate such info on the client side ( it can be calculated only if all data loaded on client side, which is not the case for dyn. loading ) 
Answer posted on Dec 15, 2009 20:30
Hi,

    But how it can be done for the static data for more than 300 records

Thanks
Suraj
Answer posted by Stanislav (support) on Dec 16, 2009 04:23
If you are not using dyn. loading -  the count of row doesn't matter. Stats and row count values will work for any count of rows. 
In case of dyn. loading - all calculations need to be done only on server side.