Skip to content

ToggleEdit - cCJGrid

Toggles Edit mode for the current SelectedColumn

Type: Procedure

Syntax

Procedure ToggleEdit

Call Example

Send ToggleEdit

Description

ToggleEdit enters and exits edit mode. If the SelectedColumn's column is editable and the grid is not in edit mode, edit mode will be started. If the column is already in edit mode, edit mode is exited. This is bound to the Ctrl+Enter key.

If pbEditOnKeyNavigation is false and you are not using the Enter key as a tab key (i.e., you have not set the cApplication object's pbEnterKeyAsTabKey set to True), this is also bound to the Enter key. The Enter key occurs in the OnEnterKey event.