Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Peter Ang on Mar 30, 2009 18:17
open dhtmlx forum
not showing " grouping-key and count of items in the group."

Math Operations in Group-by mode

Runtime grouping allows to change the look of data in the grid dynamically, re-organizing it for better presentation of information.
By default, grouping allows the user to show only grouping-key and count of items in the group.

My Grouping does not show " grouping-key and count of items in the group."

And I cannot use #stat_total...

Answer posted by dhxSupport on Mar 31, 2009 06:58
Please decribe how you cannot use #stat_total. Does your browser returns any errors?
Answer posted by Peter Ang on Mar 31, 2009 07:12
It is not showing anything.. No errors in the Browser
Answer posted by Support on Mar 31, 2009 08:24
Please be sure that you are using latest version of dhtmlxgrid, stat operations in grouping was introduced only in 2.1 version, and will be ignored by earlier versions. 

Normally the group-label can be defined as 
- second parameter of groupBy ( per-column values , including #stat_ shortcuts )
- customGroupFormat method of grid ( can be redefined ) 
if none of above was defined - grid will fall back to default view, which contains grouping-key and count of items

If issue still occurs for you - please provide a snippet of code used for grouping initialization.