How to add dependency in google gantt chart

0
I am using google gantt chart in a page. As soon as I try to add dependency on a task, the chart shows error in red. It works fine no dependency is added. can anyone help with this ?
asked
2 answers
0

Please ensure you’re referring to the TaskID in the dependencies string.

answered
0

image.png yes it looks like this and is fine when I add no dependency. but once I add dependency it will give error. Do we need to save task ID as per some order ?

image.png

answered