At the Reorder-Drag&Drop there are 3 options to reorder the Tasks: "Before", "Inside" and "After". Is there a possibility to disable "Inside" and "After", so the user only has the option to reorder "Before"?
kind regards
Ludwig
2 Answers, 1 is accepted
0
Polya
Telerik team
answered on 07 Nov 2016, 12:19 PM
Hi Ludwig,
In order to disable the drop inside and after a GanttTask we should create a custom GanttDragDropBehavior and override the GetReorderDropPosition method. This method determines the drop position depending on the overlapping value, so if we only return DropRelativePosition.Before the user would not be able to drop inside or after a GanttTask:
public class CustomDragDropBehavior : GanttDragDropBehavior