Docs
CodeRabbit
Cloudflare
Railway
Netlify
Clerk
SerpAPI
WorkOS
OpenRouter
AG Grid
Prisma
Sentry
Electric
Unkey
CodeRabbit
Cloudflare
Railway
Netlify
Clerk
SerpAPI
WorkOS
OpenRouter
AG Grid
Prisma
Sentry
Electric
Unkey
Table API Reference
Column API Reference
Row API Reference
Cell API Reference
Header API Reference
Features API Reference
Static Functions API Reference
Legacy API Reference
Legacy API Reference

LegacyRowModelOptions

Interface: LegacyRowModelOptions<TData>

Defined in: useLegacyTable.ts:193

Legacy v8-style row model options

Type Parameters

TData

TData extends RowData

Properties

aggregationFns?

ts
optional aggregationFns: AggregationFns;
optional aggregationFns: AggregationFns;

Defined in: useLegacyTable.ts:253

Additional aggregation functions to apply to the table.

Deprecated

Use rowModels.groupedRowModel with createGroupedRowModel(aggregationFns) instead.


filterFns?

ts
optional filterFns: FilterFns;
optional filterFns: FilterFns;

Defined in: useLegacyTable.ts:243

Additional filter functions to apply to the table.

Deprecated

Use rowModels.filteredRowModel with createFilteredRowModel(filterFns) instead.


getCoreRowModel?

ts
optional getCoreRowModel: RowModelFactory<TData>;
optional getCoreRowModel: RowModelFactory<TData>;

Defined in: useLegacyTable.ts:198

Returns the core row model for the table.

Deprecated

This option is no longer needed in v9. The core row model is always created automatically.


getExpandedRowModel?

ts
optional getExpandedRowModel: RowModelFactory<TData>;
optional getExpandedRowModel: RowModelFactory<TData>;

Defined in: useLegacyTable.ts:218

Returns the expanded row model for the table.

Deprecated

Use rowModels.expandedRowModel with createExpandedRowModel() instead.


getFacetedMinMaxValues?

ts
optional getFacetedMinMaxValues: FacetedMinMaxValuesFactory<TData>;
optional getFacetedMinMaxValues: FacetedMinMaxValuesFactory<TData>;

Defined in: useLegacyTable.ts:233

Returns the faceted min/max values for a column.

Deprecated

Use rowModels.facetedMinMaxValues with createFacetedMinMaxValues() instead.


getFacetedRowModel?

ts
optional getFacetedRowModel: FacetedRowModelFactory<TData>;
optional getFacetedRowModel: FacetedRowModelFactory<TData>;

Defined in: useLegacyTable.ts:228

Returns the faceted row model for a column.

Deprecated

Use rowModels.facetedRowModel with createFacetedRowModel() instead.


getFacetedUniqueValues?

ts
optional getFacetedUniqueValues: FacetedUniqueValuesFactory<TData>;
optional getFacetedUniqueValues: FacetedUniqueValuesFactory<TData>;

Defined in: useLegacyTable.ts:238

Returns the faceted unique values for a column.

Deprecated

Use rowModels.facetedUniqueValues with createFacetedUniqueValues() instead.


getFilteredRowModel?

ts
optional getFilteredRowModel: RowModelFactory<TData>;
optional getFilteredRowModel: RowModelFactory<TData>;

Defined in: useLegacyTable.ts:203

Returns the filtered row model for the table.

Deprecated

Use rowModels.filteredRowModel with createFilteredRowModel(filterFns) instead.


getGroupedRowModel?

ts
optional getGroupedRowModel: RowModelFactory<TData>;
optional getGroupedRowModel: RowModelFactory<TData>;

Defined in: useLegacyTable.ts:223

Returns the grouped row model for the table.

Deprecated

Use rowModels.groupedRowModel with createGroupedRowModel(aggregationFns) instead.


getPaginationRowModel?

ts
optional getPaginationRowModel: RowModelFactory<TData>;
optional getPaginationRowModel: RowModelFactory<TData>;

Defined in: useLegacyTable.ts:213

Returns the paginated row model for the table.

Deprecated

Use rowModels.paginatedRowModel with createPaginatedRowModel() instead.


getSortedRowModel?

ts
optional getSortedRowModel: RowModelFactory<TData>;
optional getSortedRowModel: RowModelFactory<TData>;

Defined in: useLegacyTable.ts:208

Returns the sorted row model for the table.

Deprecated

Use rowModels.sortedRowModel with createSortedRowModel(sortFns) instead.


sortFns?

ts
optional sortFns: SortFns;
optional sortFns: SortFns;

Defined in: useLegacyTable.ts:248

Additional sort functions to apply to the table.

Deprecated

Use rowModels.sortedRowModel with createSortedRowModel(sortFns) instead.