GanttValidationBuilder.AutoUpdateParentTasks(Boolean) Method
Specifies whether to recalculate the parent task's duration and progress when its child tasks are modified. Mirrors the client-side autoUpdateParentTasks option.
Namespace: DevExtreme.AspNet.Mvc.Builders
Assembly: DevExtreme.AspNet.Core.dll
Declaration
public GanttValidationBuilder AutoUpdateParentTasks(
bool value
)
Parameters
Name | Type | Description |
---|---|---|
value | Boolean | The option value. |
Returns
Type | Description |
---|---|
GanttValidationBuilder | A reference to this instance after the method is called. |
Remarks
@(Html.DevExtreme().Gantt()
.Validation(validation => validation
.ValidateDependencies(true)
.AutoUpdateParentTasks(true)
// ...
)
)
See Also