pbAllowEdit - cCJGrid
Determines if the control allows cell editing
Type: Property
Access: Read/Write
Data Type: Boolean
Parameters: None
Syntax
Property Boolean pbAllowEdit
| Access Type | Syntax |
|---|---|
| Read Access: | Get pbAllowEdit to BooleanVariable |
| Write Access: | Set pbAllowEdit to BooleanVariable/Value |
Description
pbAllowEdit determines if cells can be edited.
If true (the default), you may navigate to a cell and enter edit mode. Other properties, such as pbFocusSubItems, pbEditOnKeyNavigation and pbEditOnClick determine how edit mode is entered. Depending on these property settings, edit mode may be started by keyboard (tab key or enter key), by mouse (single or double click), or manually (BeginEdit).
Before edit mode is entered, the function CanEditColumn is called. This can be used to custom control when editing is allowed on a row or even cell level.
If pbReadOnly is true, editing is not allowed.