View as Markdown

API reference: @salmonui/data-grid/engine/export

ExportGroupCaptionHookContextinterface

import type { ExportGroupCaptionHookContext } from '@salmonui/data-grid/engine/export';
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).