| jQuery.wijmo.c1gridview Namespace > options type : columnDragging 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 columnDragging event handler function
widgetInstance.option("columnDragging", function (e, args) { } );
// Preventing a user from dragging a specific column $("#element").wijgrid({ columnDragging: function (e, args) { return !(args.drag.dataKey == "ID"); } });