SortingInstance

external interface SortingInstance<TData : RowData>(source)

Inheritors

Properties

Link copied to clipboard
abstract var getPreSortedRowModel: () -> RowModel<TData>

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

Link copied to clipboard
abstract var getSortedRowModel: () -> RowModel<TData>

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

Link copied to clipboard
abstract var resetSorting: (defaultState: Boolean?) -> Unit

Resets the sorting state to initialState.sorting, or true can be passed to force a default blank state reset to []. API Docs Guide

Link copied to clipboard
abstract var setSorting: (updater: Updater<SortingState>) -> Unit

Sets or updates the state.sorting state. API Docs Guide