CellEditor
Vue render function or component for cell editing.
Can be either:
- A render function receiving
ColumnEditorContextand returning aVNode - A Vue component (SFC or defineComponent)
type CellEditor = (ctx: ColumnEditorContext<TRow, TValue>) => VNode | ComponentExample
Section titled “Example”import type { CellEditor, ColumnConfig } from '@toolbox-web/grid-vue';
const statusEditor: CellEditor<Employee, string> = (ctx) => h(StatusSelect, { modelValue: ctx.value, 'onUpdate:modelValue': ctx.commit, });
AI assistants: For complete API documentation, implementation guides, and code examples for this library, see https://raw.githubusercontent.com/OysteinAmundsen/toolbox/main/llms-full.txt