cellDataChanged


Event fires after inline edit of a cell in the grid.

Parameters

NameTypeDescription
e {object} event data
$cell {object} the cell presented as jquery object
column {object} the column configuration data
record {object} the data of the row record
oldValue {object} the old cell value
newValue {object} the new cell value

Examples

  
Edit this example
<table id="grid"></table> <script> var grid = $('#grid').grid({ dataSource: '../Grid/GetPlayers', columns: [ { field: 'ID' }, { field: 'Name', editor: true }, { field: 'PlaceOfBirth', editor: true } ] }); grid.on('cellDataChanged', function (e, $cell, column, record, oldValue, newValue) { alert('"' + oldValue + '" is changed to "' + newValue + '"'); }); </script>