Gets the selected cells.
Namespace: MindFusion.DataViews
File: Grid.js
SyntaxJavaScript
Copy Code
|
|---|
get selectedCells() {} |
Array. An array of GridCell instances.
ExampleThe following code selects the row where the first selected cell is located:
JavaScript
Copy Code
|
|---|
| if (grid.selectedCells.length) { grid.selectRows(grid.selectedCells[0].row); } |
See Also