Skip to content

defaultEditorFor

Returns a default editor factory function for the given column type. Each editor handles commit on blur/Enter, and cancel on Escape.

Note: Focus is NOT called here - the calling code handles focusing after DOM insertion.

function defaultEditorFor(column: AnyColumn): (ctx: ColumnEditorContext) => string | HTMLElement
NameTypeDescription
columnAnyColumn
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