Wijmo UI for the Web
columnResizing Field
wijmo.grid Namespace > IWijgridOptions Interface : columnResizing Field

The columnResizing event handler is called when a user resizes the column but before the wijgrid handles the operation. This event is cancellable.

Syntax
var instance; // Type: wijmo.grid.IWijgridOptions;
var value; // Type: any
value = instance.columnResizing;
var columnResizing : any;
Example
// Prevent setting the width of "ID" column less than 100 pixels
$("#element").wijgrid({
    columnResizing: function (e, args) {
        if (args.column.dataKey == "ID" && args.newWidth < 100) {
            args.newWidth = 100;
        }
    }
});
Remarks
You can bind to the event either by type or by name. Bind to the event by name: $("#element").wijgrid({ columnResizing: function (e, args) { // some code here }}); Bind to the event by type: $("#element").bind("wijgridcolumnresizing", function (e, args) { // some code here });
See Also

Reference

IWijgridOptions Interface