| jQuery.wijmo.c1gridview Namespace > options type : loaded 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 loaded event handler function
widgetInstance.option("loaded", function (e) { } );
loaded = function ( e : Object ) { };
// The loaded event in the sample below ensures that whatever is selected on load is cleared $("#element").wijgrid({ loaded: function (e) { $(e.target).wijgrid("selection").clear(); // clear selection } });