Page 2 of 3

Re: Gantt - copy/paste tasks

Posted: Thu Jan 25, 2018 4:46 pm
by Dev_Coppelis
Hi,
The point is, How to get the task id of the selected task when I'm in the Importdata Method, to uploading the MS project ?

Re: Gantt - copy/paste tasks

Posted: Tue Jan 30, 2018 3:47 pm
by Dev_Coppelis
Hi,
May you answer my latest question plz ?

Re: Gantt - copy/paste tasks

Posted: Tue Jan 30, 2018 4:09 pm
by Terence
Not quite sure what you want, but if you want to retrieve the selection of tasks in the gantt panel
this.cmp.selModel.getLastSelected() //will return last selected task
or in case of multi selection
this.cmp.getSelection() //will return array of tasks
With getId you can retrieve the id of the task.

Re: Gantt - copy/paste tasks

Posted: Sun Feb 11, 2018 4:21 pm
by Marow
Image

this code is written in the context menu in file TaskContextMenu.js until now it is worked when i want to copy and past task when i click in duplicate task and it insert it in the next index but the issue here i want to know how to set and get the resources assignment to the copied new task

Re: Gantt - copy/paste tasks

Posted: Sun Feb 11, 2018 4:36 pm
by mats

Re: Gantt - copy/paste tasks

Posted: Tue Feb 20, 2018 8:04 pm
by Marow
OK it is work to set resource and get the resources for task Thanks
but it's dependencies can not been get as the dependencyStore it have a null value as in the image

Image
so I want to know how to get dependencies and store it

Re: Gantt - copy/paste tasks

Posted: Tue Feb 20, 2018 10:45 pm
by mats
Please provide a simple test case and we can look.

Re: Gantt - copy/paste tasks

Posted: Wed Mar 27, 2019 2:20 pm
by priya.yadav
Hi ,
Is there any update for this copy/paste feature?

Re: Gantt - copy/paste tasks

Posted: Wed Mar 27, 2019 2:24 pm
by mats
@priya sorry no, this is not on our short term roadmap.

Re: Gantt - copy/paste tasks

Posted: Tue Nov 28, 2023 1:07 pm
by nayana.shetty

Is there a way just copy the labels of the task or column values ? It used to work in older version. i am currently using 5.6.1. I can select text but not able to copy & paste to clipboard.