getChanges Returns: array
Return array with all changes
Examples
<button id="btnGetChanges">Get Changes</button>
<br/><br/>
<table id="grid"></table>
<script>
var grid = $("#grid").grid({
dataKey: 'ID',
dataSource: '../Grid/GetPlayers',
columns: [ { field: 'ID' }, { field: 'Name', editor: true }, { field: 'PlaceOfBirth', editor: true } ]
});
$('#btnGetChanges').on('click', function () {
alert(JSON.stringify(grid.getChanges()));
});
</script>