Hi,
How can we capture drag and drop of task ?
Which particular task was moved,
and also can we mark the task which is moved
Thanks,
BNB
1 Answer, 1 is accepted
0
Accepted
Hristo
Telerik team
answered on 20 Feb 2015, 05:50 PM
Hello Nagaraj,
Thank you for writing.
Regarding your first question please see your other support thread: Gantt View unable to trace drag and drop event.
As for your second question, you could visually mark the item by subscribing to the GraphicalViewItemFormattingevent and in the handler change the color of a particular item based on some condition, e.g. the value of its Tag property:
Private Sub radGanttView1_GraphicalViewItemFormatting(sender As Object, e As GanttViewGraphicalViewItemFormattingEventArgs)
Dim item As GanttViewDataItem = TryCast(e.Item, GanttViewDataItem)
If item IsNot Nothing AndAlso item.Tag IsNot Nothing AndAlso item.Tag.ToString() = "Marked" Then
I hope this information helps. Should you have further questions please do not hesitate to write back.
Regards,
Hristo Merdjanov
Telerik
Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.