Wijmo UI for the Web
currentCellChanging Event
wijmo.grid.wijgrid Namespace > options type : currentCellChanging Event
The jQuery.Event object.
The data with this event.
The currentCellChanging event handler is called before the cell is changed. You can use this event to get a selected row or column or to get a data row bound to the current cell. This event is cancellable.
Syntax
$(function () {
    // Set currentCellChanging event handler function
    $(".selector").wijgrid({
        currentCellChanging : function (e, args) {
     
        }
    });
});
currentCellChanging = function ( 
   e : Object,
   args : ICurrentCellChangingEventArgs
) { };

Parameters

e
The jQuery.Event object.
args
The data with this event.
Example
// Gets the data row bound to the current cell.
$("#element").wijgrid({
    currentCellChanging: function (e, args) {
        var rowObj = $(e.target).wijgrid("currentCell").row();
        if (rowObj) {        
            var dataItem = rowObj.data; // current data item (before the cell is changed).
        }
    }
});
Remarks
You can bind to the event either by type or by name. Bind to the event by name: $("#element").wijgrid({ currentCellChanging: function (e, args) { // some code here }}); Bind to the event by type: $("#element").bind("wijgridcurrentcellchanging", function (e, args) { // some code here });
See Also

Reference

options type
wijgrid jQuery Widget