Next
Update
Prev
Up
Down

If you set the selectionMode property to multipleRows the row selection mode will be Multiple Rows. You can navigate the rows with the up and down keys and with the mouse click. Try to select multiple rows using Shift or Control key.

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

function selectedUp() {
  ...
  ...
  dataGrid.setSelectedIndices(sArr);
}

function selectedDown() {
  ...
  ...
  dataGrid.setSelectedIndices(sArr);
}

© 2017 KoolChart. All rights reserved.