Skip to content

GridConfig

Since v0.0.1

Grid configuration for React applications.

Uses React-augmented ColumnConfig that accepts JSX render functions.

type GridConfig = Omit<BaseGridConfig<TRow>, "columns" | "loadingRenderer" | "emptyRenderer"> & object
import type { GridConfig } from '@toolbox-web/grid-react';
const config: GridConfig<Employee> = {
columns: [
{ field: 'name', header: 'Name' },
{
field: 'status',
renderer: (ctx) => <StatusBadge value={ctx.value} />,
},
],
};
AI assistants: For complete API documentation, implementation guides, and code examples for this library, see https://toolboxjs.com/llms-full.txt