DataGrid.cellFocusIn
Availability
Flash Player 6 (6.0.79.0).
Edition
Flash MX Professional 2004.
Usage
listenerObject = new Object();
listenerObject.cellFocusIn = function(eventObject){
// Insert your code here.
}
myDataGridInstance.addEventListener("cellFocusIn", listenerObject)
Description
Event; broadcast to all registered listeners when a particular cell receives focus. This event is
broadcast after any previously edited cell's
and
events are broadcast.
editCell
cellFocusOut
Version 2 components use a dispatcher/listener event model. When a DataGrid component
dispatches a
event, the event is handled by a function (also called a handler) that
cellFocusIn
is attached to a listener object (
) that you create. You call the
listenerObject
method and pass it the name of the handler as a parameter.
addEventListener()
When the event is triggered, it automatically passes an event object (
) to the
eventObject
handler. Each event object has properties that contain information about the event. You can
use these properties to write code that handles the event. The
event's
DataGrid.cellFocusIn
event object has three additional properties:
A number that indicates the index of the target column.
columnIndex
A number that indicates the index of the target row.
itemIndex
The string
.
type
"cellFocusIn"
For more information, see
"EventDispatcher class" on page
499.
274
DataGrid component (Flash Professional only)
Need help?
Do you have a question about the FLASH 8-COMPONENTS LANGUAGE and is the answer not in the manual?
Questions and answers