Applies the current sort model to the rows.
Gets the GridRowId
of a row at a specific index.
The index is based on the sorted but unfiltered row list.
Returns all row ids sorted according to the active sort model.
Returns all rows sorted according to the active sort model.
The sorted [[GridRowModel]] objects.
Returns the sort model currently applied to the grid.
The GridSortModel
.
Updates the sort model and triggers the sorting of rows.
The GridSortModel
to be applied.
Sorts a column.
The field identifier of the column to be sorted.
Optional
direction: GridSortDirectionThe direction to be sorted. By default, the next in the sortingOrder
prop.
Optional
allowMultipleSorting: booleanWhether to keep the existing [[GridSortItem]]. Default is false
.
The sort API interface that is available in the grid [[apiRef]].