Skip to content

defaultEditorFor

Since v0.4.0

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://toolboxjs.com/llms-full.txt