Can you please explain me how the sync is working/ when it get trigger? Does it carries data from gantt to server and then updated data back to gantt?
Any example/documentation to send(save) data from gantt to server would be helpful
When i set autosync to true the sync code get triggers automatically when changes are made but i want to trigger sync code on click of save button so autosync will not be set.
Pavel explained what you should do. If you don't want autoSync, set it to false and call 'sync' when you need.
Thanks Mats, but my question is, is there any example or documentation on this?
In ExtJS gantt i am making use of modified stores to handle this but here i am unable to find how to send all updated data to server.
PHP demo within distributions zip shows how to use manual project.sync().
Check examples/gantt/php/readme.md for setup instructions.
Thanks!!
I am using node api as backend and on sending request to api i don't see revision parameter.How the revision between server and client works? is there any parameter to get revision on gantt side that can be send to server and it get incremented on server side?
An example, mentioned above does have this implemented. Please, review it to see how it can be done.
Shortly, revision behaviour should be implemented by yourself on server side.