View as Markdown

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

ExportAggregateCellinterface

import type { ExportAggregateCell } from '@salmonui/data-grid/engine/export';
interface ExportAggregateCell {
    readonly columnId: ColumnId;
    readonly type: AggregateType;
    readonly style?: ExportCellStyle;
    readonly value: unknown;
    readonly text: string;
}
ExportAggregateCell members (5)
NameSignatureDescription
columnIdreadonly columnId: ColumnId;
typereadonly type: AggregateType;
styleoptionalreadonly style?: ExportCellStyle;

Set by the aggregate hook; merged over the theme aggregate / caption style.

valuereadonly value: unknown;
textreadonly text: string;