Can gantt.config.columns be set through asynchronous requests

Hello, I now want to dynamically set the value of columns through the data from asynchronous requests. How can I achieve this function?

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: ;
Please check the example of how it might be implemented: