Hi
I'm trying to bind to the toolbarClick event in the gantt chart, I've been able to successsfully do so in other EJ2 modules,
but with the gantt chart I get this error: "Uncaught ReferenceError: toolbarClick is not defined"
This happens with all events I try to bind to, here is the code generated from the razor page:
<div id ='GanttContainer'></div>
<script>var Ganttf3ulv41qxjb=new ejs.gantt.Gantt({
......
"treeColumnIndex": 1,
"width": "100%",
"toolbarClick": toolbarClick
});
Ganttf3ulv41qxjb.appendTo("#GanttContainer");
</script>
<script>
function toolbarClick(args) {
console.log(args);
}
</script>