rowRemoving
Event fires before deletion of row in the grid.
Parameters
| Name | Type | Description | 
|---|---|---|
| e | {object} | event data | 
| $row | {object} | the row presented as jquery object | 
| id | {object} | the id of the record | 
| record | {object} | the data of the row record | 
Examples
  
  <table id="grid"></table>
 <script>
     var grid = $('#grid').grid({
         dataKey: 'ID',
         dataSource: '../Grid/GetPlayers',
         columns: [ { field: 'ID' }, { field: 'Name' }, { field: 'PlaceOfBirth' } ]
     });
     grid.on('rowRemoving', function (e, $row, id, record) {
         alert('rowRemoving is fired for row with id=' + id + '.');
     });
     grid.on('dataBound', function (e, records, totalRecords) {
         grid.removeRow('1');
     });
 </script>