SortMixin

external interface SortMixin

Inheritors

Properties

Link copied to clipboard
abstract var multiSort: Boolean

When true, all <vaadin-grid-sorter> are applied for sorting.

Link copied to clipboard

When true, Shift-clicking an unsorted column's sorter adds it to the multi-sort. Shift + Space does the same action via keyboard. This property has precedence over the multiSort property. If multiSortOnShiftClick is true, the multiSort property is effectively ignored.

Link copied to clipboard

Controls how columns are added to the sort order when using multi-sort. The sort order is visually indicated by numbers in grid sorters placed in column headers.

Functions

Link copied to clipboard
abstract fun setDefaultMultiSortPriority(priority: String)

Sets the default multi-sort priority to use for all grid instances. This method should be called before creating any grid instances. Changing this setting does not affect the default for existing grids.