ID

TreeListBuilder<T>.RootValue(Object) Method

This method sets the client-side rootValue option.

Namespace: DevExtreme.AspNet.Mvc.Builders

Assembly: DevExtreme.AspNet.Core.dll

Declaration

public TreeListBuilder<T> RootValue(
    object value
)

Parameters

Name Type Description
value Object

Returns

Type Description
TreeListBuilder<T>

Remarks

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

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