Initializes a new instance of the GridCell class.
Namespace: MindFusion.DataViews
File: GridCell.js
JavaScript Copy Code |
---|
function GridCell () |
You are not expected to create instances of the GridCell class. You get a reference to the GridCell objects that build up the grid through properties.
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; } |