jQuery.wijmo.c1gridview Namespace > options type : columnDropped 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 columnDropped event handler function widgetInstance.option("columnDropped", function (e, args) { } );
// 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" } });