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…
Please decribe how you cannot use #stat_total. Does your browser returns any errors?
It is not showing anything… No errors in the Browser
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.