| jQuery.wijmo.c1gridview Namespace > options type : currentCellChanged 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 currentCellChanged event handler function
widgetInstance.option("currentCellChanged", function (e) { } );
currentCellChanged = function ( e : Object ) { };
// Gets the data row bound to the current cell. $("#element").wijgrid({ currentCellChanged: function (e, args) { var rowObj = $(e.target).wijgrid("currentCell").row(); if (rowObj) { var dataItem = rowObj.data; // current data item (after the cell is changed). } } });