Back to Devexpress

TreeListBuilder<T>.RemoteOperations(Action<TreeListRemoteOperationsBuilder>) Method

aspnetcore-devextreme-dot-aspnet-dot-mvc-dot-builders-dot-treelistbuilder-1-dot-remoteoperations-x28-system-dot-action-devextreme-dot-aspnet-dot-mvc-dot-builders-dot-treelistremoteoperationsbuilder-x29.md

latest2.1 KB
Original Source

TreeListBuilder<T>.RemoteOperations(Action<TreeListRemoteOperationsBuilder>) Method

Notifies the TreeList of the server's data processing operations. Applies only if data has a plain structure. Mirrors the client-side remoteOperations object.

Namespace : DevExtreme.AspNet.Mvc.Builders

Assembly : DevExtreme.AspNet.Core.dll

Declaration

csharp
public TreeListBuilder<T> RemoteOperations(
    Action<TreeListRemoteOperationsBuilder> configurator
)

Parameters

NameTypeDescription
configuratorAction<TreeListRemoteOperationsBuilder>

A function that allows you to specify nested options.

|

Returns

TypeDescription
TreeListBuilder<T>

A reference to this instance after the method is called.

|

Remarks

This method provides access to methods that allow you to configure nested options of the client-side remoteOperations object.

To specify nested options, use a lambda expression.

cshtml
@(Html.DevExtreme().TreeList()
    .RemoteOperations(operations => operations
        // call methods to specify nested options
    )
)

Refer to Nested Options and Collections for more information.

See Also

TreeListBuilder<T> Class

TreeListBuilder<T> Members

DevExtreme.AspNet.Mvc.Builders Namespace