I need a grid with a Checkbox column to select/deselect multiple rows. I have tried the column template by doing the following
But, how do I bind the event of checking the checkbox select/deselect the row? I also need the "Select All" checkbox in the header which would select all the rows.
{ field: 'IsSelected', title: 'Select', type: "boolean", template: '<input class=selector type=checkbox />', width: '50px' }But, how do I bind the event of checking the checkbox select/deselect the row? I also need the "Select All" checkbox in the header which would select all the rows.