Search
GridCell Constructor
See Also
 






Initializes a new instance of the GridCell class.

Namespace: MindFusion.DataViews
File: GridCell.js

 Syntax

JavaScript  Copy Code

function GridCell ()

 Remarks

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.

 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