New to Kendo UI for Angular? Start a free 30-day trial
TaskDragDirective
Represents the Gantt task drag directive.
Use this directive to enable dragging of tasks in the Gantt. The directive listens and emits events with information about the dragged task.
html
<kendo-gantt [data]="tasks" kendoGanttTaskDrag (taskDrag)="onTaskDrag($event)" (taskDragEnd)="onTaskDragEnd($event)">
</kendo-gantt>
Selector
[kendoGanttTaskDrag]
Events
Name | Type | Description |
---|---|---|
taskDrag |
|
Emits while the user resizes or moves a task by dragging. |
taskDragEnd |
|
Fires when the user finishes dragging to resize or move a task. The event data gives you all information needed to update the task and related tasks. |