Back to Devexpress

TreeMapBuilder.ChildrenField(String) Method

aspnetcore-devextreme-dot-aspnet-dot-mvc-dot-builders-dot-treemapbuilder-dot-childrenfield-x28-system-dot-string-x29.md

latest1.4 KB
Original Source

TreeMapBuilder.ChildrenField(String) Method

Specifies the name of the data source field that provides nested items for a group. Applies to hierarchical data sources only. Mirrors the client-side childrenField option.

Namespace : DevExtreme.AspNet.Mvc.Builders

Assembly : DevExtreme.AspNet.Core.dll

Declaration

csharp
public TreeMapBuilder ChildrenField(
    string value
)

Parameters

NameTypeDescription
valueString

The option value.

|

Returns

TypeDescription
TreeMapBuilder

A reference to this instance after the method is called.

|

Remarks

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

cshtml
@(Html.DevExtreme().TreeMap()
    .ChildrenField("MyField")
)

See Also

TreeMapBuilder Class

TreeMapBuilder Members

DevExtreme.AspNet.Mvc.Builders Namespace