API REFERENCE
components
Registers local custom renderers, editors, filters, and other components for this Grid.
What does this API do?
Registers local custom renderers, editors, filters, and other components for this Grid.
Exact input and result types
components: GridComponentLocalDefinitions<
GridData,
unknown,
unknown,
unknown
>| Item | Value |
|---|---|
| JavaScript name | components |
| HTML attribute | components |
| Default | undefined |
| Input type | GridComponentLocalDefinitions< GridData, unknown, unknown, unknown > |
Usage flow
Set this on a property of the Grid element. Pass arrays, objects, and callbacks through JavaScript, and use new arrays or objects when applying changes.
Read related types
Feature explanations and examples
- Customize cell appearance
Cell renderers change how data is displayed. Use them for status badges, links, and action buttons while retaining the original values for sorting and filtering.