Edit this page

Default context menu

RadGanttView has a default context menu which allows several operations with the gantt data items to be performed.

Add

The Add option offers two ways to add an item. You can add an item on the same level as the item you clicked on or you can add a new child to the item you clicked on.

Adding a child will add it at the last position in the parent task Items collection.

Figure 1: Add new item with the context menu.

ganttview-context-menu-default-context-menu 001

Adding a sibling will add it before the item you clicked on.

Figure 2: Add sibling items with the context menu.

ganttview-context-menu-default-context-menu 003

Delete

The Delete option does exactly what you would expect it to. It deletes the item you have clicked on. It also removes any child items.

Figure 3: The Delete menu item.

ganttview-context-menu-default-context-menu 005

Progress

The Progress option allows you to set the progress of a task to a certain value. You can modify the step at which the progress menu items increase and thus their number through the ProgressStep property of the context menu. Also you can control whether this option should appear at all through the ShowProgress property. If the item current progress is not a multiple of the progress step the value is automatically added in the appropriate position of the menu items.

Figure 4: Setting the progress with the context menu.

ganttview-context-menu-default-context-menu 007

See Also

Was this article helpful? Yes No
Thank you for your feedback!

Give article feedback

Tell us how we can improve this article

close
Dummy