Skip to main content
All docs
V19.1

GanttSettings.RootValue Property

Gets or sets the value that root nodes contain in the field specified by the ParentFieldName property.

Namespace: DevExpress.Web.Mvc

Assembly: DevExpress.Web.Mvc5.v19.1.dll

Declaration

public object RootValue { get; set; }

Property Value

Type Description
Object

The root value.

Remarks

By default, if a node’s parent field value doesn’t point to any other node, the node is added to the collection of root nodes.

However, if you specify the RootValue property’s value, only those nodes whose parent field value matches the RootValue are added to the collection of root nodes. If the node’s parent field value doesn’t match the RootValue, and doesn’t point to any other node, this node isn’t displayed within the Gantt.

See Also