Skip to content

TypeDefaultRegistration

Since v0.11.0

Type default registration configuration. Uses Angular component types for renderers/editors.

const defaults: Record<string, TypeDefaultRegistration> = {
country: {
renderer: CountryCellComponent,
editor: CountryEditorComponent,
},
};
PropertyTypeDescription
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.

Custom filter panel for this type.

Accepts either:

  • An Angular component class implementing FilterPanel (has a params signal input)
  • A vanilla imperative function (container, params) => void