FilterValuesHandler
Since v0.2.7
Async handler for fetching unique filter values from a server.
For server-side datasets where not all values are available locally, this handler is called when the filter panel opens to fetch all possible values for the column.
type FilterValuesHandler = (field: string, column: ColumnConfig) => Promise<unknown[]>Example
Section titled “Example”valuesHandler: async (field, column) => { const response = await fetch(`/api/distinct/${field}`); return response.json(); // ['Engineering', 'Marketing', 'Sales', ...]}
AI assistants: For complete API documentation, implementation guides, and code examples for this library, see https://toolboxjs.com/llms-full.txt