OnExiting - cCJGridColumn
Called when the cell focus is about to move from this column. Can be used to cancel the navigation.
Type: Event
Return Data Type: Boolean
Syntax
Function OnExiting Returns Boolean
Description
OnExiting is called before a cell focus change and is sent to the column object about to lose the column focus. Returning true from this function will cancel the navigation event. When called, SelectedColumn has not yet been updated and it will point to this column.
With data aware grids, the cDbCJGridColumn object will call the data dictionary event defined in the data dictionary's Field_Exit_Msg after it calls OnExiting. This data dictionary message can also cancel the column focus change.
OnExiting is called before the cell navigation event has occurred. The OnExit event is sent after the navigation has occurred. OnEntering is called before the cell navigation event has occurred. The OnEntry event is sent after the navigation has occurred. They are called in the following order:
Get OnExiting of OldColumn to bCancel Get OnEntering of NewColumn to bCancel < Change focus> Send OnExit of OldColumn Send OnEntry of NewColumn
Return Value
Returns True if the cell navigation should be cancelled.