ID

TreeListBuilder<T>.Sorting(Action<TreeListSortingBuilder>) Method

This method sets the client-side sorting option.

Namespace: DevExtreme.AspNet.Mvc.Builders

Assembly: DevExtreme.AspNet.Core.dll

Declaration

public TreeListBuilder<T> Sorting(
    Action<TreeListSortingBuilder> configurator
)

Parameters

Name Type Description
configurator Action<TreeListSortingBuilder>

Returns

Type Description
TreeListBuilder<T>

Remarks

In Razor files, use the following notation to set the option's value:

@Html.DevExtreme().TreeList().Sorting(...)
See Also