<script type="x-kendo/template" id="template">
<button data-role="button"
data-icon="add"
data-bind="events: { click: onClickAddProject }"
style="width: 180px">
Click me
</button>
</script>
<script>
var vm = kendo.observable({
baseURL: `projects`,
onClickAddProject: function () {
console.log("OK")
alert("OK")
}
});
kendo.bind($("#view"), vm);
</script>
Hi, Rwesssc,
I tested the events binding in the following Dojo with the latest version, however I can't seem to be able to reproduce the issue. The binding is working as expected.
Let me know in case you notice something incorrect with the example.
Best Regards,
Georgi