Legacy API Reference

getSortedRowModel

Function: getSortedRowModel()

ts
function getSortedRowModel<TData>(): RowModelFactory<TData>;

Defined in: useLegacyTable.ts:66

Type Parameters

TData

TData extends RowData

Returns

RowModelFactory\<`TData`\>

Deprecated

Use createSortedRowModel() in the sortedRowModel feature slot with the new useTable hook instead.

This is a stub function for v8 API compatibility with useLegacyTable. It acts as a marker to enable the sorted row model.