jQuery.wijmo.c1gridview Namespace > options type : columnDragged Event |
var options; // Type: jQuery.wijmo.c1gridview.options // Create a new c1gridview widget $(".selector").c1gridview(options); // Get a previously created c1gridview widget instance var widgetInstance; // Type: jQuery.wijmo.c1gridview widgetInstance = $(".selector").data("wijmo-c1gridview"); // Set columnDragged event handler function widgetInstance.option("columnDragged", function (e, args) { } );
// 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"); } });