Skip to content

ColumnConfigMap

Since v0.1.1

Array of column configurations. Convenience type alias for ColumnConfig<TRow>[].

type ColumnConfigMap = ColumnConfig<TRow>[]
const columns: ColumnConfigMap<Employee> = [
{ field: 'name', header: 'Full Name', sortable: true },
{ field: 'email', header: 'Email Address' },
{ field: 'department', type: 'select', options: deptOptions },
];
grid.columns = columns;
AI assistants: For complete API documentation, implementation guides, and code examples for this library, see https://toolboxjs.com/llms-full.txt