Gantt - copy/paste tasks

Request new features or modifications
User avatar
Dev_Coppelis
Premium Member
Premium Member
Posts: 172
Joined: Thu Oct 05, 2017 3:38 pm

Re: Gantt - copy/paste tasks

Post by Dev_Coppelis » Thu Jan 25, 2018 4:46 pm

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 ?

User avatar
Dev_Coppelis
Premium Member
Premium Member
Posts: 172
Joined: Thu Oct 05, 2017 3:38 pm

Re: Gantt - copy/paste tasks

Post by Dev_Coppelis » Tue Jan 30, 2018 3:47 pm

Hi,
May you answer my latest question plz ?

User avatar
Terence
Core Developer
Core Developer
Posts: 1523
Joined: Tue Apr 01, 2014 2:23 pm

Re: Gantt - copy/paste tasks

Post by Terence » Tue Jan 30, 2018 4:09 pm

Not quite sure what you want, but if you want to retrieve the selection of tasks in the gantt panel

Code: Select all

this.cmp.selModel.getLastSelected() //will return last selected task
or in case of multi selection

Code: Select all

this.cmp.getSelection() //will return array of tasks
With getId you can retrieve the id of the task.

User avatar
Marow
Posts: 3
Joined: Mon Oct 09, 2017 2:58 pm

Re: Gantt - copy/paste tasks

Post by Marow » Sun Feb 11, 2018 4:21 pm

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

User avatar
mats
Core Developer
Core Developer
Posts: 14593
Joined: Sat Dec 19, 2009 11:41 pm
Location: Sweden
Contact:

Re: Gantt - copy/paste tasks

Post by mats » Sun Feb 11, 2018 4:36 pm

Please look at the documentation, it describes how to assign tasks to resources etc.

https://bryntum.com/docs/scheduling/5.x ... hod-assign

https://bryntum.com/docs/scheduling/5.x ... tResources
Tired of debugging javascript errors in web applications? Try our new error logging service RootCause, or read more on the Sencha blog

@bryntum
Facebook
API documentation

User avatar
Marow
Posts: 3
Joined: Mon Oct 09, 2017 2:58 pm

Re: Gantt - copy/paste tasks

Post by Marow » Tue Feb 20, 2018 8:04 pm

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

User avatar
mats
Core Developer
Core Developer
Posts: 14593
Joined: Sat Dec 19, 2009 11:41 pm
Location: Sweden
Contact:

Re: Gantt - copy/paste tasks

Post by mats » Tue Feb 20, 2018 10:45 pm

Please provide a simple test case and we can look.
Tired of debugging javascript errors in web applications? Try our new error logging service RootCause, or read more on the Sencha blog

@bryntum
Facebook
API documentation

User avatar
priya.yadav
Posts: 39
Joined: Tue Mar 26, 2019 12:31 pm

Re: Gantt - copy/paste tasks

Post by priya.yadav » Wed Mar 27, 2019 2:20 pm

Hi ,
Is there any update for this copy/paste feature?

User avatar
mats
Core Developer
Core Developer
Posts: 14593
Joined: Sat Dec 19, 2009 11:41 pm
Location: Sweden
Contact:

Re: Gantt - copy/paste tasks

Post by mats » Wed Mar 27, 2019 2:24 pm

@priya sorry no, this is not on our short term roadmap.
Tired of debugging javascript errors in web applications? Try our new error logging service RootCause, or read more on the Sencha blog

@bryntum
Facebook
API documentation

Post Reply