Skip to content

ColumnConfigMap

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://raw.githubusercontent.com/OysteinAmundsen/toolbox/main/llms-full.txt