Wijmo UI for the Web
groupText Field
wijmo.grid Namespace > IDetailSettings Interface : groupText Field

The groupText event handler is a function that is called when groups are being created and the groupInfo option has the groupInfo.headerText or the groupInfo.footerText options set to "custom". This event can be used to customize group headers and group footers.

Syntax
var instance; // Type: wijmo.grid.IDetailSettings;
var value; // Type: any
value = instance.groupText;
var groupText : any;
Example
// The following sample sets the groupText event handler to avoid empty cells. The custom formatting applied to group headers left certain cells appearing as if they were empty. This code avoids that:
$("#element").wijgrid({
    groupText: function (e, args) {
        if (!args.groupText) {
            args.text = "null";
        }
    }
});
Remarks
You can bind to the event either by type or by name. Bind to the event by name: $("#element").wijgrid({ groupText: function (e, args) { // some code here }}); Bind to the event by type: $("#element").bind("wijgridgrouptext", function (e, args) { // some code here });
See Also

Reference

IDetailSettings Interface