Skip to content

MasterDetailConfig

Since v1.9.1

Master-detail config widened to accept a Vue render function as detailRenderer (row, rowIndex) => VNode in addition to the vanilla (row, rowIndex) => HTMLElement | string signature.

Re-exported under the same name as the core type so Vue users see a single canonical MasterDetailConfig from @toolbox-web/grid-vue.

type MasterDetailConfig = Omit<CoreMasterDetailConfig, "detailRenderer"> & { detailRenderer?: CoreMasterDetailConfig["detailRenderer"] | (row: Record<string, unknown>, rowIndex: number) => VNode | null | undefined }