Editor Dropdown
Module Extensions
Section titled “Module Extensions”ColumnRegular
(Extended from @revolist/revogrid
)
Section titled “ColumnRegular (Extended from @revolist/revogrid)”interface ColumnRegular { /** * Configuration for dropdown editor */ dropdown?: DropdownProps}
Plugin API
Section titled “Plugin API”editorDropdown
Section titled “editorDropdown”editorDropdown: CellTemplate | undefined;
ColumnDropdown
Section titled “ColumnDropdown”Column type for dropdown editor
Key Features:
- Cell Template: Uses the
editorDropdown
template for rendering the dropdown editor. - Cell Properties: Applies a small padding to the cell to prevent layout issues.
- Readonly: Ensures the dropdown is not editable by default.
ColumnDropdown: { cellTemplate: CellTemplate; cellProperties: (props: CellTemplateProp) => { style: { padding: string; }; class: { disabled: false; }; }; readonly: true;};