Hello, I now want to dynamically set the value of columns through the data from asynchronous requests. How can I achieve this function?
Hello,
If you want to add columns dynamically, one of the options is to use push
method of the array. You also need to use gantt.render
method to repaint changes:
https://docs.dhtmlx.com/gantt/api__gantt_render.html ;
Please check the example of how it might be implemented:
https://snippet.dhtmlx.com/kwjnl7jb