Hi Support,
how can I call Angular method inside the event handler callback. because some methods and variables need to reuse in other areas in Gantt.
Thanks.
Rasagb
Hi Support,
how can I call Angular method inside the event handler callback. because some methods and variables need to reuse in other areas in Gantt.
Thanks.
Rasagb
Hello Rasagb,
If you only want to call the Angular method, it should work the same way as you call a function in Angular.
If you want to render an Angular component, it may not work the same way. For example, to show Angular elements in the grid, you need to use the onrender
function in the column configuration:
https://docs.dhtmlx.com/gantt/desktop__specifying_columns.html#modifyingcellsafterrendering
Here is an Angular demo that demonstrates how it works:
https://files.dhtmlx.com/30d/bcbe40b238a361c80c0520cb3fd1b031/angular10+onrender+material_button.zip
If you need something different, please describe your question in more detail.