User Guide
DataGrid component (Flash Professional only) 271
DataGrid.focusedCell
Availability
Flash Player 6 (6.0 79.0).
Edition
Flash MX Professional 2004.
Usage
myDataGrid.focusedCell
Description
Property; in editable mode only, an object instance that defines the cell that has focus. The object
must have the fields
columnIndex and itemIndex, which are both integers that indicate the
index of the column and item of the cell. The origin is (0,0). The default value is
undefined.
Example
The following example sets the focused cell to the third column, fourth row:
grid.focusedCell = {columnIndex:2, itemIndex:3};
DataGrid.getColumnAt()
Availability
Flash Player 6 (6.0 79.0).
Edition
Flash MX Professional 2004.
Usage
myDataGrid.getColumnAt(index)
Parameters
index
The index of the DataGridColumn object to be returned. This number is zero-based.
Returns
A DataGridColumn object.
Description
Method; gets a reference to the DataGridColumn object at the specified index.
Example
The following example gets the DataGridColumn object at index 4:
var aColumn = myGrid.getColumnAt(4);