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

The columnUngrouping event handler is called when a column has been removed from the group area but before the wjgrid handles the operation. This event is cancellable.

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

Reference

IDetailSettings Interface