Skip to content

MasterDetailConfig

Since v1.7.1

Angular-specific master-detail config that allows an Angular component class as detailRenderer.

Extends the core MasterDetailConfig to accept a Type<unknown> for detailRenderer in addition to the vanilla (row, rowIndex) => HTMLElement | string signature. Bridging to vanilla DOM is handled by the side-effect import @toolbox-web/grid-angular/features/master-detail.

Re-exported from the feature entry under the same name as the core type so Angular consumers see a single canonical MasterDetailConfig from @toolbox-web/grid-angular/features/master-detail.

type MasterDetailConfig = Omit<CoreMasterDetailConfig, "detailRenderer"> & { detailRenderer?: CoreMasterDetailConfig["detailRenderer"] | Type<unknown> }