SubTotal Group DHTMLXGrid

Using this code:





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)…



Please check this document
Math_operations_in_group_by_mode.pdf (41.1 KB)