PrimitiveColumnType
Built-in primitive column types with automatic formatting and editing support.
'string'- Text content, default text input editor'number'- Numeric content, right-aligned, number input editor'date'- Date content, formatted display, date picker editor'boolean'- True/false, rendered as checkbox'select'- Dropdown selection fromoptionsarray
type PrimitiveColumnType = "number" | "string" | "date" | "boolean" | "select"Example
Section titled “Example”columns: [ { field: 'name', type: 'string' }, { field: 'age', type: 'number' }, { field: 'hireDate', type: 'date' }, { field: 'active', type: 'boolean' }, { field: 'department', type: 'select', options: [ { label: 'Engineering', value: 'eng' }, { label: 'Sales', value: 'sales' }, ]},]See Also
Section titled “See Also”ColumnTypefor custom type supportTypeDefaultfor type-level defaults
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