0
Fork 0
mirror of https://github.com/TanStack/table.git synced 2026-11-18 18:55:54 +00:00
table/docs/framework/react/reference/legacy/interfaces/LegacyRowModelOptions.md
Kevin Van Cott 09598d2e41
feat: support infinite pagination page sizes (#6526)
* feat: support infinite pagination page sizes

* add devtools to all with-tanstack examples

* ci: apply automated fixes

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-08-07 13:11:04 -05:00

5.3 KiB

id title
LegacyRowModelOptions LegacyRowModelOptions

Interface: LegacyRowModelOptions<TData>

Defined in: react-table/src/useLegacyTable.ts:208

Legacy v8-style row model options

Type Parameters

TData

TData extends RowData

Properties

aggregationFns?

optional aggregationFns: AggregationFns;

Defined in: react-table/src/useLegacyTable.ts:268

Additional aggregation functions to apply to the table.

Deprecated

Use rowAggregationFeature with the aggregationFns slot instead. Add columnGroupingFeature and groupedRowModel only when grouping rows.


filterFns?

optional filterFns: FilterFns;

Defined in: react-table/src/useLegacyTable.ts:258

Additional filter functions to apply to the table.

Deprecated

Use the filteredRowModel/filterFns slots on the features option with createFilteredRowModel() instead.


getCoreRowModel?

optional getCoreRowModel: RowModelFactory<TData>;

Defined in: react-table/src/useLegacyTable.ts:213

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?

optional getExpandedRowModel: RowModelFactory<TData>;

Defined in: react-table/src/useLegacyTable.ts:233

Returns the expanded row model for the table.

Deprecated

Use the expandedRowModel slot on the features option with createExpandedRowModel() instead.


getFacetedMinMaxValues?

optional getFacetedMinMaxValues: FacetedMinMaxValuesFactory<TData>;

Defined in: react-table/src/useLegacyTable.ts:248

Returns the faceted min/max values for a column.

Deprecated

Use the facetedMinMaxValues slot on the features option with createFacetedMinMaxValues() instead.


getFacetedRowModel?

optional getFacetedRowModel: FacetedRowModelFactory<TData>;

Defined in: react-table/src/useLegacyTable.ts:243

Returns the faceted row model for a column.

Deprecated

Use the facetedRowModel slot on the features option with createFacetedRowModel() instead.


getFacetedUniqueValues?

optional getFacetedUniqueValues: FacetedUniqueValuesFactory<TData>;

Defined in: react-table/src/useLegacyTable.ts:253

Returns the faceted unique values for a column.

Deprecated

Use the facetedUniqueValues slot on the features option with createFacetedUniqueValues() instead.


getFilteredRowModel?

optional getFilteredRowModel: RowModelFactory<TData>;

Defined in: react-table/src/useLegacyTable.ts:218

Returns the filtered row model for the table.

Deprecated

Use the filteredRowModel/filterFns slots on the features option with createFilteredRowModel() instead.


getGroupedRowModel?

optional getGroupedRowModel: RowModelFactory<TData>;

Defined in: react-table/src/useLegacyTable.ts:238

Returns the grouped row model for the table.

Deprecated

Use columnGroupingFeature with the groupedRowModel slot and createGroupedRowModel() instead. Add rowAggregationFeature separately when grouped rows aggregate values.


getPaginationRowModel?

optional getPaginationRowModel: RowModelFactory<TData>;

Defined in: react-table/src/useLegacyTable.ts:228

Returns the paginated row model for the table.

Deprecated

Use the paginatedRowModel slot on the features option with createPaginatedRowModel() instead.


getSortedRowModel?

optional getSortedRowModel: RowModelFactory<TData>;

Defined in: react-table/src/useLegacyTable.ts:223

Returns the sorted row model for the table.

Deprecated

Use the sortedRowModel/sortFns slots on the features option with createSortedRowModel() instead.


sortFns?

optional sortFns: SortFns;

Defined in: react-table/src/useLegacyTable.ts:263

Additional sort functions to apply to the table.

Deprecated

Use the sortedRowModel/sortFns slots on the features option with createSortedRowModel() instead.