TypeDefaultRegistration
Since v0.11.0
Type default registration configuration. Uses Angular component types for renderers/editors.
Example
Section titled “Example”const defaults: Record<string, TypeDefaultRegistration> = { country: { renderer: CountryCellComponent, editor: CountryEditorComponent, },};Properties
Section titled “Properties”| Property | Type | Description |
|---|---|---|
renderer? | Type<any> | Angular component class for rendering cells of this type |
editor? | Type<any> | Angular component class for editing cells of this type |
editorParams? | Record<string, unknown> | Default editorParams for this type |
filterPanelRenderer? | FilterPanelRenderer | Type<any> | Custom filter panel for this type. |
Property Details
Section titled “Property Details”filterPanelRenderer
Section titled “filterPanelRenderer”Custom filter panel for this type.
Accepts either:
- An Angular component class implementing
FilterPanel(has aparamssignal input) - A vanilla imperative function
(container, params) => void