GridSortableSettingsTagHelper

Example

Razor
<sortable/>

Attributes

AttributeTypeDescription
allow-unsortBooleanIf set to true the user can get the grid in unsorted state by clicking the sorted column header.
enabledBoolean
initial-directionStringDetermines the inital (from un-sorted to sorted state) sort direction. The supported values are asc and desc.
modeStringThe sorting mode. If set to "single" the user can sort by one column. If set to "multiple" the user can sort by multiple columns. And the "mixed" mode enables you to sort in single mode when clicking and switch to multiple when holding ctrl key.
show-indexesBooleanIf set to true the user will see sort sequence indicators for sorted columns.
In this article
ExampleAttributes
Not finding the help you need?
Contact Support