Back to Devexpress

SortableBuilder.AllowReordering(Boolean) Method

aspnetcore-devextreme-dot-aspnet-dot-mvc-dot-builders-dot-sortablebuilder-dot-allowreordering-x28-system-dot-boolean-x29.md

latest1.3 KB
Original Source

SortableBuilder.AllowReordering(Boolean) Method

Allows a user to reorder sortable items. Mirrors the client-side allowReordering option.

Namespace : DevExtreme.AspNet.Mvc.Builders

Assembly : DevExtreme.AspNet.Core.dll

Declaration

csharp
public SortableBuilder AllowReordering(
    bool value
)

Parameters

NameTypeDescription
valueBoolean

The option value.

|

Returns

TypeDescription
SortableBuilder

A reference to this instance after the method is called.

|

Remarks

Use the following notation to set the option’s value:

cshtml
@(Html.DevExtreme().Sortable()
    .AllowReordering(true)
)

See Also

SortableBuilder Class

SortableBuilder Members

DevExtreme.AspNet.Mvc.Builders Namespace