wijmo.grid.wijgrid Namespace > options type : columnDropping Event |
Javascript (Usage) | |
---|---|
$(function () { // Set columnDropping event handler function $(".selector").wijgrid({ columnDropping : function (e, args) { } }); }); |
Javascript (Specification) | |
---|---|
columnDropping = function ( e : Object, args : IColumnDroppingEventArgs ) { }; |
// Preventing user from dropping any column before the "ID" column. $("#element").wijgrid({ columnDropping: function (e, args) { return !(args.drop.dataKey == "ID" && args.at == "left"); } });