$(function () { // Set columnResizing event handler function $(".selector").wijgrid({ columnResizing : function (e, args) { } }); });
Parameters
- e
- The jQuery.Event object.
- args
- The data with this event.
$(function () { // Set columnResizing event handler function $(".selector").wijgrid({ columnResizing : function (e, args) { } }); });
// 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; } } });