GridColumnSortableSettingsTagHelper

Example

Razor
<sortable>
</sortable>

Attributes

AttributeTypeDescription
allow-unsortBooleanIf set to true the user can get the grid in unsorted state by clicking the sorted column header. If set to false the user will not be able to unsort the column once sorted.
compareStringThe name of the JavaScript function which is used to compare the values. The compare function works only when server sorting is disabled.
enabledBooleanDetermines whether the column is sortable. If set to true, the column will be sortable. If set to false, the column will not be sortable.
initial-directionStringDetermines the inital (from un-sorted to sorted state) sort direction. The supported values are asc and desc.
In this article
ExampleAttributes
Not finding the help you need?
Contact Support