You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
Following import using JSGantt.parseXMLString the id provided in the XML is not the same as that returned by GetID. When trying to remove a task using the XML provided value the code doesn't work as it is looking at the new ID.
Describe the solution you'd like
Either a method that returns the new ID from the originalID (which is accessible) or allow originalID to be used in RemoveTaskItem and potentially other functions that use ID.
Describe alternatives you've considered
Keep the IDs the same as the XML input so there is no difference between the two
Additional context
I am happy to make this change as I modified the source myself to get the functionality I needed.
The text was updated successfully, but these errors were encountered:
I guess the getOriginalID was meant for this, when you go to the jsgantt.js file from line 3800 something you can see all the get functions available and then all the set functions.
Is your feature request related to a problem? Please describe.
Following import using JSGantt.parseXMLString the id provided in the XML is not the same as that returned by GetID. When trying to remove a task using the XML provided value the code doesn't work as it is looking at the new ID.
Describe the solution you'd like
Either a method that returns the new ID from the originalID (which is accessible) or allow originalID to be used in RemoveTaskItem and potentially other functions that use ID.
Describe alternatives you've considered
Keep the IDs the same as the XML input so there is no difference between the two
Additional context
I am happy to make this change as I modified the source myself to get the functionality I needed.
The text was updated successfully, but these errors were encountered: