jQuery.wijmo.c1gridview Namespace > options type : cellClicked 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 cellClicked event handler function widgetInstance.option("cellClicked", function (e, args) { } );
// The sample uses the cellClicked event to trigger an alert when the cell is clicked. $("#element").wijgrid({ cellClicked: function (e, args) { alert(args.cell.value()); } });