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