Search results

Sort API in React Grid API component

The Sort module is used to handle sorting action.

Methods

clearSorting

Clears all the sorted columns of the Grid.

Returns void

sortColumn

Sorts a column with the given options.

Parameter Type Description
columnName string Defines the column name to sort.
direction SortDirection Defines the direction of sorting field.
isMultiSort (optional) boolean Specifies whether the previously sorted columns are to be maintained.

Returns void