Back to Table

Table_RowModels_Sorted

docs/reference/interfaces/Table_RowModels_Sorted.md

8.21.31.2 KB
Original Source

Interface: Table_RowModels_Sorted<TFeatures, TData>

Defined in: features/row-sorting/rowSortingFeature.types.ts:198

Type Parameters

TFeatures

TFeatures extends TableFeatures

TData

TData extends RowData

Properties

getPreSortedRowModel()

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

Defined in: features/row-sorting/rowSortingFeature.types.ts:205

Returns the row model for the table before any sorting has been applied.

Returns

RowModel<TFeatures, TData>


getSortedRowModel()

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

Defined in: features/row-sorting/rowSortingFeature.types.ts:209

Returns the row model for the table after sorting has been applied.

Returns

RowModel<TFeatures, TData>