Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by shivkumar on Nov 30, 2009 21:31
open dhtmlx forum
Total and subtotal of the report grid

i have one dhtmlx report grid in html tabular format here 100 record ,here i have put the dhtmlx pagination so each page come 10 record. we want end of the row in each page we want to display the total sum of the column value e.g


table:

amount qty earning
10 4.0 10,254,100
24 5.0 50,220,110


Total:

34 9.0 60,474,210

subtotal(if record will come more then 10 because due to pagination user will see here only 10 record )



regards,
Shivkumar Prajapati
9538240162
Answer posted by dhxSupport on Dec 01, 2009 02:42
You can use automatically calculated values for header/footer. http://dhtmlx.com/dhxdocs/doku.php?id=dhtmlxgrid:math_in_grid
But this solution works only for hole grid, not only for one page. It case of paging you can create custom static counter. Tutorial is available here http://dhtmlx.com/dhxdocs/doku.php?id=dhtmlxgrid:toc_custom_statistics_count