Selects the rows in the specified range.
Namespace: MindFusion.DataViews
File: Grid.js
JavaScript Copy Code |
---|
function selectRows (index, [count]) |
Number. The start index of the range to select.
Number. The length of the range.
The following code handles the rowCommand event and uses the selectRows method to select the edited row:
JavaScript Copy Code |
---|
grid.rowCommand.addEventListener(function (sender, args) grid.getRowElement(editRow).style.outline = ""; |