Next
Update
Prev
Select/Clear All
View Selected Rows

You can click on the CheckBox in the cell or header to select specific rows. This example demonstrates that the user can select or clear entire rows by clicking on the CheckBox in the header and can select individual row by clicking on the CheckBox in the cell.

...
<DataGrid ... selectionMode="multipleRows" ... >
...

function toggleAllItemSelected() {
  var selectorColumn = gridRoot.getObjectById("selector");
  alert(selectorColumn.getSelectedIndices());
}

function getSelectedIndices() {
  var selectorColumn = gridRoot.getObjectById("selector");
  selectorColumn.setAllItemSelected(!selectorColumn.getAllItemSelected());
}

© 2017 KoolChart. All rights reserved.