gopal
Posts: 4
Joined: Wed Jan 12, 2022 7:12 am

Unable to Drag and Drop subtasks along the Yaxis

Hi Team

im unable to drag and drop the subtask along the y axis , so let me know how can we achieve the same ?
mateusz.b
Posts: 2006
Joined: Tue Jul 13, 2021 11:34 am

Re: Unable to Drag and Drop subtasks along the Yaxis

Hi gopal,

Welcome to our forum and thanks for contacting us with your question!

Your Y axis type might be the cause of your issue. Drag and drop doesn't work for TreeGrid axis, which is default in Gantt charts.
API reference: https://api.highcharts.com/gantt/plotOp ... draggableY

Try to use it with category type axis instead. Remember about including draggable-points module.
Demo: https://jsfiddle.net/BlackLabel/jpq8bt4d/

Let me know if that was what you were looking for!
Regards!
Mateusz Bernacik
Highcharts Developer
gopal
Posts: 4
Joined: Wed Jan 12, 2022 7:12 am

Re: Unable to Drag and Drop subtasks along the Yaxis

Thanks for your reply team... However is there any possibility to implement the same for treegrid axis? or an alternative workaround to implement it?
mateusz.b
Posts: 2006
Joined: Tue Jul 13, 2021 11:34 am

Re: Unable to Drag and Drop subtasks along the Yaxis

gopal,

Unfortunately implementing it is quite complicated and goes beyond support scope. Please leave your feedback in this feature request:
https://github.com/highcharts/highcharts/issues/14400

Regards!
Mateusz Bernacik
Highcharts Developer
gopal
Posts: 4
Joined: Wed Jan 12, 2022 7:12 am

Re: Unable to Drag and Drop subtasks along the Yaxis

Thank you @Mateusz :) :) :)
mateusz.b
Posts: 2006
Joined: Tue Jul 13, 2021 11:34 am

Re: Unable to Drag and Drop subtasks along the Yaxis

You're welcome! In case of any further questions, feel free to contact us again.
Mateusz Bernacik
Highcharts Developer
[email protected]
Posts: 65
Joined: Fri Aug 26, 2022 9:33 am

Re: Unable to Drag and Drop subtasks along the Yaxis

Hello,
It's possible to Drag Yaxis in TreeGrid ?

Thanks, Paulo Torres
jedrzej.r
Posts: 725
Joined: Tue Jan 24, 2023 11:21 am

Re: Unable to Drag and Drop subtasks along the Yaxis

Hi!

Unfortunately, for now it isn't possible to drag tasks vertically in the tree grid gantt chart. As you can see here: https://github.com/highcharts/highcharts/issues/14400, the feature request is published and open, so if you could upvote it and leave your feedback by commenting on this issue, it would be really appreciated as it will open the discussion and can lead to prioritizing this ticket.

In case of any other questions, feel free to ask anytime.
Best regards!
Jędrzej Ruta
Highcharts Developer
[email protected]
Posts: 65
Joined: Fri Aug 26, 2022 9:33 am

Re: Unable to Drag and Drop subtasks along the Yaxis

jedrzej.r wrote: Tue Dec 19, 2023 10:55 am Hi!

Unfortunately, for now it isn't possible to drag tasks vertically in the tree grid gantt chart. As you can see here: https://github.com/highcharts/highcharts/issues/14400, the feature request is published and open, so if you could upvote it and leave your feedback by commenting on this issue, it would be really appreciated as it will open the discussion and can lead to prioritizing this ticket.

In case of any other questions, feel free to ask anytime.
Best regards!
Thanks a lot for your answer!
jedrzej.r
Posts: 725
Joined: Tue Jan 24, 2023 11:21 am

Re: Unable to Drag and Drop subtasks along the Yaxis

Hi!

A little update on this thread, there is a pull request regarding this issue, in which you can find a working example allowing dragging tasks in a vertical direction: https://github.com/highcharts/highcharts/pull/20331.

Best regards!
Jędrzej Ruta
Highcharts Developer

Return to “Highcharts Gantt”