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