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