Gets the row index of this cell.
Namespace: MindFusion.DataViews
File: GridCell.js
SyntaxJavaScript
Copy Code
|
|---|
get row() {} |
Number. The row index.
ExampleThe 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