Skip to main content
A newer version of this page is available. .

TcxCustomGridTableItem.OnGetPropertiesForEdit Event

This event is fired when getting the properties of an editor which is used to display and edit the contents of an item cell for a specific record when in-place editing is initiated.

Declaration

property OnGetPropertiesForEdit: TcxGridGetPropertiesEvent read; write;

Remarks

The OnGetPropertiesForEdit and OnGetProperties events allow you to implement the MultiEditors feature, i.e. provide different editors to display and edit the cells of a single item. Generally, the MultiEditors feature is used in unbound mode, when you know the type of data stored in a specific item cell.

Compared to the OnGetProperties event, the OnGetPropertiesForEdit event handler lets you change the default item editor that is used to edit the contents of an item cell for a specific record when in-place editing is initiated. This is the only difference between these two events. Also note that if the OnGetPropertiesForEdit event is not handled, the OnGetProperties event (if handled) also specifies the default item editor that will be used to edit the contents of an item cell when in-place editing is initiated as if the OnGetPropertiesForEdit event is handled.

Refer to the description of the OnGetProperties event to learn about the parameters and restrictions on modifying the properties of the in-place editor when handling the OnGetPropertiesForEdit and OnGetProperties events.

See Also