Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Cleverson on Mar 05, 2009 13:52
open dhtmlx forum
SubTotal Group DHTMLXGrid

Using this code:

<script>
mygrid = new dhtmlXGridObject('gridbox');
...
mygrid.customGroupFormat=function(text,count){

return "Grouped by "+text+", there are "+count+" related records"

};
mygrid.groupBy(2);


How to get a subtotal from a column ? Like, I dont want the count, I need the sum( column 5)....

Answer posted by dhxSupport on Mar 06, 2009 01:49
Please check this document
Attachments (1)