rowUnselect

Event fires on un selection of row

Parameters

NameTypeDescription
e {object} event data
$row {object} the row presented as jquery object
id {string} the id of the record
record {object} the data of the row record

Examples

sample

    
 <table id="grid"></table>
 <script>
     var grid = $('#grid').grid({
         dataSource: '/0_6/Grid/GetPlayers',
         columns: [ { field: 'ID' }, { field: 'Name' }, { field: 'PlaceOfBirth' } ],
         selectionMethod: 'checkbox'
     });
     grid.on('rowUnselect', function (e, $row, id, record) {
         alert('Row with id=' + id + ' is unselected.');
     });
 </script>