Module Extensions
ColumnRegular
(Extended from @revolist/revogrid
)
ts
interface ColumnRegular {
/**
* Configuration for dropdown editor
*/
dropdown?: DropdownProps
}
Plugin API
editorDropdown
ts
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.
ts
ColumnDropdown: {
cellTemplate: CellTemplate;
cellProperties: (props: CellTemplateProp) => { style: { padding: string; }; class: { disabled: false; }; };
readonly: true;
};