Skip to main content

TcxGridEditMode Enum

Enumerates the View’s cell data editor types.

Declaration

TcxGridEditMode = (
    emInplace,
    emInplaceEditForm,
    emInplaceEditFormHideCurrentRow,
    emModalEditForm
);

Members

Name
emInplace
emInplaceEditForm
emInplaceEditFormHideCurrentRow
emModalEditForm

Remarks

Options include:

Value

Description

Example

emInplace

In this classic mode, end-users can focus any cell, invoke its in-place editor, which automatically occupies the entire cell, and use editor capabilities to modify the cell’s data.

emInplaceEditForm

An extension to emInplace, this mode arranges in-place editors on a panel called in-place Edit Form that is displayed under the currently edited row. The in-place Edit Form’s layout is auto-generated, however, you and your end-users can incorporate a custom layout as well as switch the visibility of individual editors using the built-in customization dialog powered by the ExpressLayout Control‘s functionality.

Unlike the emInplace mode, the scope of editors available for display in the in-place Edit Form is not limited to the columns that are currently visible in the View – you can make only a few columns visible and pick any columns to provide editors for the Edit Form separately.

emInplaceEditFormHideCurrentRow

Similar to emInplaceEditForm, except that the View automatically hides the currently edited row prior to displaying the in-place Edit Form.

emModalEditFormDialog

Data is displayed in the modal dialog.

A user can specify a custom caption for the Edit form and customize its layout. The form’s size is calculated so that the form fits all in-place editors and takes as least possible space. Note that the modal form does not support item hot track and immediate data post options.

See Also