selectionType : (single|multiple)Default: 'single'

The type of the row selection.
If the type is set to multiple the user will be able to select more then one row from the grid.

Examples

Multiple Material Design Checkbox

    
 <table id="grid"></table>
 <script>
     $('#grid').grid({
         dataSource: '/Players/Get',
         selectionType: 'multiple',
         selectionMethod: 'checkbox',
         columns: [ { field: 'ID', width: 56 }, { field: 'Name' }, { field: 'PlaceOfBirth' } ]
     });
 </script>

  

Multiple Bootstrap 3 Checkbox

    
 <table id="grid"></table>
 <script>
     $('#grid').grid({
         primaryKey: 'ID',
         uiLibrary: 'bootstrap',
         dataSource: '/Players/Get',
         selectionType: 'multiple',
         selectionMethod: 'checkbox',
         columns: [ { field: 'ID', width: 32 }, { field: 'Name' }, { field: 'PlaceOfBirth' } ]
     });
 </script>

  

Multiple Bootstrap 4 Checkbox

    
 <table id="grid"></table>
 <script>
     $('#grid').grid({
         uiLibrary: 'bootstrap4',
         dataSource: '/Players/Get',
         selectionType: 'multiple',
         selectionMethod: 'checkbox',
         columns: [ { field: 'ID', width: 42 }, { field: 'Name' }, { field: 'PlaceOfBirth' } ]
     });
 </script>

  

Single Checkbox

    
 <table id="grid"></table>
 <script>
     $('#grid').grid({
         dataSource: '/Players/Get',
         selectionType: 'single',
         selectionMethod: 'checkbox',
         columns: [ { field: 'ID', width: 56 }, { field: 'Name' }, { field: 'PlaceOfBirth' } ]
     });
 </script>