JS

SortOrder Enum

Lists the sort order.

Namespace: DevExtreme.AspNet.Mvc

Assembly: DevExtreme.AspNet.Core.dll

Declaration

[JsonConverter(typeof(StringEnumConverter))]
public enum SortOrder

Members

Name Description
Asc

Columns are sorted in ascending order.

Desc

Columns are sorted in descending order.

Remarks

@(Html.DevExtreme().FileManager()
    .ItemView(view => view
        .Mode(FileManagerItemViewMode.Details)
        .Details(details => {
            details.Columns(columns => {
              columns.Add().DataField("name");
              columns.Add().SortOrder(SortOrder.Desc);
              //...
            )}
        }
    )
)
See Also