selectionMethod : (basic|checkbox) Default: "basic"


The type of the row selection mechanism.

If this setting is set to "basic" when the user select a row, then this row will be highlighted.
If this setting is set to "checkbox" a column with checkboxes will appear as first row of the grid and when the user select a row, then this row will be highlighted and the checkbox selected.

Examples

  
Edit this example
<table id="grid"></table> <script> $("#grid").grid({ dataSource: "../Grid/GetPlayers", selectionType: "single", selectionMethod: "checkbox", columns: [ { field: "ID" }, { field: "Name" }, { field: "PlaceOfBirth" } ] }); </script>