getChangesReturns: array

Return array with all changes

Examples

sample

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