Search
GridCell.row Property
See Also
 






Gets the row index of this cell.

Namespace: MindFusion.DataViews
File: GridCell.js

 Syntax

JavaScript  Copy Code

get row() {}

 Property Value

Number. The row index.

 Example

The following code gets the row and column index of the focusedCell in a Grid instance:

JavaScript  Copy Code
if (grid.allowCellSelect)
{
    var selectedRow = grid.focusedCell.row;
    var selectedColumn = grid.focusedCell.column;
}

 See Also