Package | fl.events |
Class | public final class DataGridEventReason |
Inheritance | DataGridEventReason ![]() |
Language Version : | ActionScript 3.0 |
Player Version : | Flash Player 9.0.28.0 |
reason
property of the DataGridEvent object
when the value of the type
property is itemEditEnd
.
See also
Constant | Defined By | ||
---|---|---|---|
CANCELLED : String = "cancelled" [static]
The user canceled editing and does not want to save the edited
data.
| DataGridEventReason | ||
NEW_COLUMN : String = "newColumn" [static]
The user moved focus to a new column in the same row.
| DataGridEventReason | ||
NEW_ROW : String = "newRow" [static]
Indicates that the user moved focus to a new row.
| DataGridEventReason | ||
OTHER : String = "other" [static]
The list component lost focus, was scrolled, or is in a state where
editing is not allowed.
| DataGridEventReason |
CANCELLED | Constant |
public static const CANCELLED:String = "cancelled"
Language Version : | ActionScript 3.0 |
Player Version : | Flash Player 9.0.28.0 |
The user canceled editing and does not want to save the edited data.
Even if you call the preventDefault()
method
from your event listener for the itemEditEnd
event,
Flash still calls the destroyItemEditor()
editor to close the editor.
See also
NEW_COLUMN | Constant |
public static const NEW_COLUMN:String = "newColumn"
Language Version : | ActionScript 3.0 |
Player Version : | Flash Player 9.0.28.0 |
The user moved focus to a new column in the same row.
Your event listener can include logic that permits a change in focus
or that stops it. For example, if an event listener detects that the user
entered an invalid value, the event listener can make a call to the
preventDefault()
method to stop focus from being moved to a
new item. The item editor remains open and the user continues to edit the
current item. To close the editor that is associated with the current item,
call the destroyItemEditor()
method.
See also
NEW_ROW | Constant |
public static const NEW_ROW:String = "newRow"
Language Version : | ActionScript 3.0 |
Player Version : | Flash Player 9.0.28.0 |
Indicates that the user moved focus to a new row.
Your event listener can include logic that permits a change in focus
or that stops it. For example, if an event listener detects that the user
entered an invalid value, the event listener can make a call to the
preventDefault()
method to stop focus from being moved to a
new row. The item editor remains open and the user continues to edit the
current item. To close the editor that is associated with the current item,
call the destroyItemEditor()
method.
See also
OTHER | Constant |
public static const OTHER:String = "other"
Language Version : | ActionScript 3.0 |
Player Version : | Flash Player 9.0.28.0 |
The list component lost focus, was scrolled, or is in a state where editing is not allowed.
Even if you call the preventDefault()
method from your event
listener for the itemEditEnd
event, Flash still calls the
destroyItemEditor()
editor to close the editor.
See also