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

The columnGrouping event handler is a function that is called when a column is dropped into the group area, but before the wijgrid handles the operation. This event is cancellable.

Syntax
var instance; // Type: wijmo.grid.IDetailSettings;
var value; // Type: any
value = instance.columnGrouping;
var columnGrouping : any;
Example
// Preventing user from grouping the "UnitPrice" column.
$("#element").wijgrid({
    columnGrouping: function (e, args) {
        return !(args.drag.headerText == "UnitPrice");
    }
});
Remarks
You can bind to the event either by type or by name. Bind to the event by name: $("#element").wijgrid({ columnGrouping: function (e, args) { // some code here }}); Bind to the event by type: $("#element").bind("wijgridcolumngrouping", function (e, args) { // some code here });
See Also

Reference

IDetailSettings Interface