Okay first thing, I'm trying to get this functionality working in our implementation;
https://docs.telerik.com/kendo-ui/knowledge-base/grid-prevent-popup-close-on-edit
https://dojo.telerik.com/UKobIzuN
Using the dojo example linked above, there is a line that does not work in our version.
var editWindow = this.editable.element.data("kendoWindow");
When I try that in ours, it just crashes. For reference, our version looks like this;
$("#scheduler").kendoScheduler({
//bunch of stuff
editable: editable,
edit: function (ePopupEdit) {
//bunch of stuff
var editWindow = this.element.data("kendoWindow");
editWindow.unbind("close");
editWindow.bind("close", onWindowEditClose);
//bunch more stuff
},
save: function (e) {
preventCloseOnSave();
},
)};
What am I doing wrong?
Thanks.