Represents a data cell in a grid control.
Namespace: MindFusion.DataViews
File: GridCell.js
JavaScript Copy Code |
---|
// class |
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; } |
MindFusion.DataViews.GridCell