We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

Control the granularity of drag task.

Is it possible to control the drag granularity of a task?  We want to be only able to drag to a specific day, not a specific time on a day.


3 Replies

SG Sridharan Gajendran Syncfusion Team June 7, 2017 10:57 AM UTC

Hi Eric, 
Thanks for contacting Syncfusion Support. 
We have achieved your requirement in the sample level by using NodeDragCompleted event in GanttControl. Please find the demo sample from the following link. 
Sample: Gantt 

EG Eric Gurney June 7, 2017 02:04 PM UTC

Is there anyway to have the display only show the dates when the dragging is happening?

SG Sridharan Gajendran Syncfusion Team June 8, 2017 11:49 AM UTC

Hi Eric, 
Thanks for the update. 
As of now, highlighting specific dates while dragging is not possible. We can highlight the non-working days by customizing the calendar options in the GanttControl. Please refer the below documentation link for more information 

Live Chat Icon For mobile
Up arrow icon