Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by withzestmn on Mar 27, 2009 17:48
open dhtmlx forum
stat_average



Hi, ^^;

I use #stat_average.
But, there are null data in some cells of my grid.

stat_average seems to be calculated by total / total_row_count.

But, I want to except for row count of null data.

Is it possible?
Answer posted by dhxSupport on Mar 30, 2009 07:57

This is expected behaviour. Grid recognize cells without values like value with "0". 

You can implement your custom average counter. Please see example here http://dhtmlx.com/docs/products/dhtmlxGrid/samples/header_footer/pro_grid_footer.html