JS

GanttToolbarItem Enum

Lists standard toolbar items.

Namespace: DevExtreme.AspNet.Mvc

Assembly: DevExtreme.AspNet.Core.dll

Declaration

[JsonConverter(typeof(StringEnumConverter))]
public enum GanttToolbarItem

Members

Name Description
Separator

A separator between toolbar items.

Undo

Reverses the last action.

Redo

Repeats the undone action.

ExpandAll

Expands all tasks.

CollapseAll

Collapses all tasks.

AddTask

Adds a task.

DeleteTask

Deletes a task.

ZoomIn

Zooms in the chart.

ZoomOut

Zooms out the chart.

Remarks

Use the ScaleType(GanttScaleType) method to specify a zoom level of tasks in the Gantt chart.

@(Html.DevExtreme().Gantt()
    .Toolbar(toolbar => {
        toolbar.Items(items => {
            items.Add().Name(GanttToolbarItem.Undo);
            //...
        }
    }
    //...
)
See Also