Wijmo UI for the Web
columnDropped Event
wijmo.grid.wijgrid Namespace > options type : columnDropped Event
The jQuery.Event object.
The data with this event.
The columnDropped event handler is a function that is called when a column has been dropped into the columns area.
Syntax
$(function () {
    // Set columnDropped event handler function
    $(".selector").wijgrid({
        columnDropped : function (e, args) {
     
        }
    });
});
columnDropped = function ( 
   e : Object,
   args : IColumnDroppedEventArgs
) { };

Parameters

e
The jQuery.Event object.
args
The data with this event.
Example
// Supply a callback function to handle the columnDropped event:
$("#element").wijgrid({
    columnDropped: function (e, args) {
        "The '" + args.drag.headerText + "' column has been dropped onto the '" + args.drop.headerText + "' column at the '" + args.at + "' position"
    }
});
Remarks
You can bind to the event either by type or by name. Bind to the event by name: $("#element").wijgrid({ columnDropped: function (e, args) { // some code here }}); Bind to the event by type: $("#element").bind("wijgridcolumndropped", function (e, args) { // some code here });
See Also

Reference

options type
wijgrid jQuery Widget