I want to use the onrender callback function in vue2. X

I want to use the onrender callback function of gantt.config.columns in vue2. X. What should I do?

Hello,
You can use the Vue code to render Vue components inside the onrender function. For example, you can create a Material button using render function and Vuetify module.
Please check the Vue demo with a Material button:
https://files.dhtmlx.com/30d/dd706dad88b9cada214e15da91dbeff2/vue+onrender.zip
Here is the articles that can help:
https://www.oreilly.com/library/view/vuejs-up-and/9781491997239/ch04.html ;
https://vuetifyjs.com/en/getting-started/installation/ ;
https://vuetifyjs.com/en/components/buttons/ ;

1 Like