Wijmo UI for the Web
columnDragged Event
The jQuery.Event object.
The data with this event.
The columnDragged event handler is a function that is called when column dragging has been started. You can use this event to find the column being dragged or the dragged column's location.
Syntax
Javascript (Usage) 
var instance; // Type: options
instance.columnDragged = function(e, args) { };
Javascript (Specification) 
columnDragged = function ( 
   e : Object,
   args : IColumnDraggedEventArgs
) { };

Parameters

e
The jQuery.Event object.
args
The data with this event.
Example
// Supply a callback function to handle the columnDragged event:
$("#element").wijgrid({
    columnDragged: function (e, args) {
        alert("The '" + args.drag.headerText + "' column is being dragged from the '" + args.dragSource + "' location");
    }
});
Remarks
You can bind to the event either by type or by name. Bind to the event by name: $("#element").wijgrid({ columnDragged: function (e, args) { // some code here }}); Bind to the event by type: $("#element").bind("wijgridcolumndragged", function (e, args) { // some code here });

See Also

Reference

options type

 

 


© 2013 All Rights Reserved.

Send comments on this topic.