Select all records from the grid.
Examples
sample
<button id="btnSelectAll">Select All</button>
<br/><br/>
<table id="grid"></table>
<script>
var grid = $('#grid').grid({
dataSource: '/0_6/Grid/GetPlayers',
columns: [ { field: 'ID' }, { field: 'Name' }, { field: 'PlaceOfBirth' } ],
selectionMethod: 'checkbox',
selectionType: 'multiple'
});
$('#btnSelectAll').on('click', function () {
grid.selectAll();
});
</script>