View as Markdown

API reference: @salmonui/core/export-model

ExportGroupCaptionHookContextinterface

import type { ExportGroupCaptionHookContext } from '@salmonui/core/export-model';
interface ExportGroupCaptionHookContext {
    readonly columnId: ColumnId;
    readonly header: string;
    readonly key: Json;
    readonly value: unknown;
    readonly formattedKey: string;
    readonly count: number;
    readonly depth: number;
    readonly text: string;
}
ExportGroupCaptionHookContext members (8)
NameSignatureDescription
columnIdreadonly columnId: ColumnId;
headerreadonly header: string;
keyreadonly key: Json;
valuereadonly value: unknown;
formattedKeyreadonly formattedKey: string;
countreadonly count: number;
depthreadonly depth: number;
textreadonly text: string;

Default caption (Header: key - N items).