Event fires after inline edit of a cell in the grid.
Parameters
Name | Type | Description |
---|---|---|
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 |
newValue | {object} | the new cell value |
Examples
sample
<table id="grid"></table>
<script>
var grid = $('#grid').grid({
dataSource: '/Players/Get',
columns: [ { field: 'ID', width: 56 }, { field: 'Name', editor: true }, { field: 'PlaceOfBirth', editor: true } ]
});
grid.on('cellDataChanged', function (e, $cell, column, record, newValue) {
alert('The value for "' + column.field + '" is changed to "' + newValue + '"');
});
</script>