Selection and drag & drop

Hi,

i see in you guide that is possible to assign resources to a task.

I would like to know if it is possible to select a resoirce and highlight the task and vicerversa, and if it is possible to assign a resource to a task via drag & drop.

Best Regards
Gian Piero Truccolo



6 Replies 1 reply marked as answer

SS Sridevi Sivakumar Syncfusion Team December 24, 2020 02:15 PM UTC

Hi Gian Piero Truccolo,

Greetings from Syncfusion.

We have analyzed your requirement and we would like to inform you that  in our Gantt control, 
we can add and customize the resources at load time only.

W
e don't have grid editing support for resources. Also, there is no possibility to provide interaction support for resources.

Please let us know if you have any other queries.

Regards,
Sridevi S.





GI Gian January 7, 2021 08:13 AM UTC

Hi Sridevi,

can  i do the interaction below described between two GantView with the events MouseLeftButtonDown and Drag&Drop event?

And also another question, i see that the gantt view have the controls, is it possible to hide one of them?

Best regards
Gian Piero Trucccolo




SS Sridevi Sivakumar Syncfusion Team January 8, 2021 11:34 AM UTC

Hi Gian Piero Truccolo,

This update is mainly to get the confirmation of your reported issue to proceed with this without any misleading.

Query 1:  can i do the interaction below described between two GantView with the events MouseLeftButtonDown and Drag&Drop event?

We have analysed the reported query, and we suspect that your requirement is to do drag interaction between resources by using the MouseLeftButtonDown and Drag&Drop events. As we informed earlier 
there is no possibility to provide interaction support for resources.

If your requirement different from this, please give more details about your requirement that would be helpful for us to give correct solution to you.

Query 2:  I see that the Gantt view have the controls, is it possible to hide one of them

We have suspect that your requirement is to hide the grid view and chart view. We can hide the grid view by setting the GridWidth value to 0, similarly hide the chart view by setting the 0 to ChartWidth.

For more information to adjust the chart and grid size.
 
https://help.syncfusion.com/wpf/gantt/getting-started#adjusting-chart-and-grid-size

If your requirement different from this, please give more details about your requirement that would be helpful for us to give correct solution to you.

Regards,
Sridevi S.
 
 



GI Gian January 8, 2021 01:21 PM UTC

Hi,


regarding the first query i explain better wich is our goal.

First example, i select the resource on the gantt and then on the other gantt, where there are tasks, select the connected task  and highlight it. I will do this operation  by forcing the selecteditems in the behind code.

The second one, from the resources gantt  drag the item to the task gantt and use the drop event to add the resources to the task.

I hope now is more clear then before.

Best regards
Gian Piero Truccolo


GI Gian January 8, 2021 03:27 PM UTC

Hi,

another question.

Is it possible to move itmes in the Grid with drag & drop?
So move a task below or above.

Best regards
Gian Piero Truccolo


SS Sridevi Sivakumar Syncfusion Team January 11, 2021 11:49 AM UTC

Hi Gian Piero Truccolo,

Query 1:   i select the resource on the gantt and then on the other gantt, where there are tasks, select the connected task  and highlight it. I will do this operation  by forcing the selecteditems in the behind code.

We don't have support for select and highlight the items from one Gantt to another Gantt.

Query 2:  from the resources gantt  drag the item to the task gantt and use the drop event to add the resources to the task.


In Gantt control we have added the resource in the Textbox only, So we can't drag the resource from one task to another task.



Query 3:  Is it possible to move itmes in the Grid with drag & drop?

We don’t have support for this. So, we already considered “
Drag and drop rows in Gantt control” as a feature and logged this as a feature request, and you can track the status of this feature implementation through the below link

Feedback link:  https://www.syncfusion.com/feedback/4613


Please cast your vote to make it count. We will prioritize the features every release based on the demands. We are closing this incident and we do not have an immediate plan to implement this feature since we committed with already planned work. So, this feature will be available in any of our upcoming releases.

If you have any more specifications/suggestions to the feature request, you can add it as a comment in the portal.


Regards,
Sridevi S.
 
 


Marked as answer
Loader.
Up arrow icon