Wijmo UI for the Web
columnResized Event
The jQuery.Event object.
The data with this event.
The columnResized event handler is called when a user has changed a column's size.
Syntax
Javascript (Usage) 
$(function () {
    // Set columnResized event handler function
    $(".selector").wijgrid({
        columnResized : function (e, args) {
     
        }
    });
});
Javascript (Specification) 
columnResized = function ( 
   e : Object,
   args : IColumnResizedEventArgs
) { };

Parameters

e
The jQuery.Event object.
args
The data with this event.
Example
// Supply a callback function to handle the columnGrouped event:
$("#element").wijgrid({
    columnResized: function (e, args) {
        alert("The '" + args.column.headerText + "' has been resized");
    }
});
Remarks
You can bind to the event either by type or by name. Bind to the event by name: $("#element").wijgrid({ columnResized: function (e, args) { // some code here }}); Bind to the event by type: $("#element").bind("wijgridcolumnresized", function (e, args) { // some code here });

See Also

Reference

options type
wijgrid jQuery Widget

 

 


© 2013 All Rights Reserved.

Send comments on this topic.