Back to Table

createFacetedRowModel

docs/reference/functions/createFacetedRowModel.md

8.21.3855 B
Original Source

Function: createFacetedRowModel()

ts
function createFacetedRowModel<TFeatures, TData>(): (table, columnId) => () => RowModel<TFeatures, TData>;

Defined in: features/column-faceting/createFacetedRowModel.ts:13

Type Parameters

TFeatures

TFeatures extends TableFeatures

TData

TData extends RowData = any

Returns

ts
(table, columnId): () => RowModel<TFeatures, TData>;

Parameters

table

Table<TFeatures, TData>

columnId

string

Returns

ts
(): RowModel<TFeatures, TData>;

Returns

RowModel<TFeatures, TData>