The requested page is not available for the requested platform. You are viewing the content for Default platform.
ID

TreeListBuilder<T>.Option(String, Object) Method

Allows to specify an arbitrary option by its name.

Namespace: DevExtreme.AspNet.Mvc.Builders

Assembly: DevExtreme.AspNet.Core.dll

Declaration

public TreeListBuilder<T> Option(
    string jsName,
    object value
)

Parameters

Name Type Description
jsName String
value Object

Returns

Type Description
TreeListBuilder<T>

Remarks

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

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