Editor Dropdown
Module Extensions
ColumnRegular
(Extended from @revolist/revogrid
)
interface ColumnRegular { /** * Configuration for dropdown editor */ dropdown?: DropdownProps}
Plugin API
editorDropdown
editorDropdown: CellTemplate | undefined;
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;};