View as Markdown

API reference: @salmonui/data-grid/engine

DataSourceFacetResultinterface

import type { DataSourceFacetResult } from '@salmonui/data-grid/engine';
interface DataSourceFacetResult {
    readonly columnId: ColumnId;
    readonly entries: readonly {
        readonly key: string;
        readonly label: string;
        readonly count: number;
    }[];
    readonly complete: boolean;
}
DataSourceFacetResult members (3)
NameSignatureDescription
columnIdreadonly columnId: ColumnId;
entriesreadonly entries: readonly { readonly key: string; readonly label: string; readonly count: number; }[];

key: the server's value key (BLANK_FACET_KEY for blanks); label: display text. Sorted by label.

completereadonly complete: boolean;

False when limit truncated the list.