New to Kendo UI for Angular? Start a free 30-day trial

MultipleSortSettings

Specifies settings for sorting by multiple columns.

NameTypeDefaultDescription

allowUnsort?

boolean

Enables the removal of the column sorting.

initialDirection?

"asc" | "desc"

Determines the initial (from the unsorted to the sorted state) sort direction.

The available values for setting the initial sort direction are:

  • asc (default)
  • desc

mode?

"multiple"

The sort mode of the Grid.

multiSortKey?

ModifierKey

'none'

Specifies the modifier key for sorting by 2nd or more columns.

The default value is 'none', meaning that clicking a column will add it to the sort order. Selecting a key modifier along with the click will remove sorting from all other columns.

If the key is set to 'ctrl', 'shift' or 'alt', clicking a column will remove sorting from all other columns. The specified key must be pressed to add the column to the sort order instead.

The ctrl value corresponds to the Command key in a macOS environment.

showIndexes?

boolean

Enables the sort-sequence indicators for sorting multiple columns.