Change Task ID

Hi All,

I just want to know what’s the process behind the change task id.
What is the expected behavior when i put this inside onlightboxsave event?
Currently, it will create a new task. Or this is just not valid.

There is a separate command changeTaskId that need to be called after closing lightbox.
It will change id only on client side ( gantt will not update the ID in the database automatically )

Normally it is used automatically, after inserting new record in DB gantt changes temporary ID with one from database.

docs.dhtmlx.com/gantt/api__gantt … askid.html