View as Markdown

API reference: @salmonui/pivot-table/engine

PivotFormatinterface

import type { PivotFormat } from '@salmonui/pivot-table/engine';

Also exported from @salmonui/pivot-table.

interface PivotFormat {
    readonly number?: Intl.NumberFormatOptions;
    readonly date?: Intl.DateTimeFormatOptions;
    readonly locale?: string;
}

Intl.NumberFormat options (or date options for date members) per value or field.

PivotFormat members (3)
NameSignatureDescription
numberoptionalreadonly number?: Intl.NumberFormatOptions;
dateoptionalreadonly date?: Intl.DateTimeFormatOptions;
localeoptionalreadonly locale?: string;