Adobe Flex 3 Help

The cell editing process

The following sequence of steps occurs when a cell in a list-based control is edited:

  1. User releases the mouse button while over a cell, tabs to a cell, or in another way attempts to edit a cell.
  2. Flex dispatches the itemEditBeginning event. You can use this event to disable editing of a specific cell or cells. For more information, see Example: Preventing a cell from being edited.
  3. Flex dispatches the itemEditBegin event to open the item editor. You can use this event to modify the data passed to the item editor. For more information, see Example: Modifying data passed to or received from an item editor.
  4. The user edits the cell.
  5. The user ends the editing session. Typically the cell editing session ends when the user removes focus from the cell.
  6. Flex dispatches the itemEditEnd event to close the item editor and update the list-based control with the new cell data. You can use this event to modify the data returned to the cell, validate the new data, or return data in a format other than the format returned by the item editor. For more information, see Example: Modifying data passed to or received from an item editor.
  7. The new data value appears in the cell.