Search
Grid.selectedCells Property
See Also
 






Gets the selected cells.

Namespace: MindFusion.DataViews
File: Grid.js

 Syntax

JavaScript  Copy Code

get selectedCells() {}

 Property Value

Array. An array of GridCell instances.

 Example

The 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