Hi ,I’ve been using the Gantt chart and it is amazing what I have done so far and looking through the documentation I believe I shall do many things. It is a great tool. Congratulations.
But I’m stuck in a situation that I’m going to try to explain with some print screens below.
First using Data Processor synchronously It works perfectly! But it isn’t the ideal scenario for me.
Let’s suppose a schedule with lots of linked tasks. Like 1000 tasks. To work synchronously it is not an option due a cascade update that could be triggered with a simple drag and drop at the first task.
So I start to test using dataProcessor.setUpdateMode (“off”). Here is where the problems started for me.
Here I got an example of some tasks only at the client side…
![4|690x265]
When I hit the button “update” to trigger the function ‘dataProcessor.sendData()’ to send the data to the server I get the results below:
Please observe that “Task2” is in bold and apparently no set to the server and it returns on the same level of Task1 and that is wrong because Task2 is a child task of Task1.
Then, when I noticed that some records were in “bold” I saved the schedule again and end-up with this result.
As you can see for some reason the Gantt component did not respect the hierarchy.
I have also noticed that, sometimes, when I create child tasks and send the data to the server, the records don’t even obey the creation order. On this example below I just saved once again and reload the screen and return something completely different from the client-side.
I believe this happens because when we work only with the client side, we don’t have the ‘parent task id’ to keep the records in order. So, I would like to know how can I send the data to server side at once respecting the hierarchy created on the client-side.
I do hope I have made myself clear enough about my situation here.
Thanks.