$(function () { // Set columnDropping event handler function $(".selector").wijgrid({ columnDropping : function (e, args) { } }); });
Parameters
- e
- The jQuery.Event object.
- args
- The data with this event.
$(function () { // Set columnDropping event handler function $(".selector").wijgrid({ columnDropping : function (e, args) { } }); });
// Preventing user from dropping any column before the "ID" column. $("#element").wijgrid({ columnDropping: function (e, args) { return !(args.drop.dataKey == "ID" && args.at == "left"); } });