Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by skm on May 05, 2009 10:49
open dhtmlx forum
groupby and average function

Hello Support,

How can I include average function along with groupby feature.

I use the following
groupby(1)
setColumnHidden(1)

grid is as follows: can I include average functions for cpu and memory columns?

hostname category cpu memory
a avg? avg? ->PseudoRow
1 a 40 20
2 5 3
3 30 10


Thanks,
skm
Answer posted by dhxSupport on May 06, 2009 02:18
There is possibility to use math operations in group-by mode. Please see more information here http://dhtmlx.com/docs/products/dhtmlxGrid/doc/articles/Math_operations_in_group.html#grid_mathingrp