Hello,
I have a use case where I want to change the event function (_dialogActionOK, _dialogInitOpen, _dialogOpen) called by the dialog window runtime.
$('#dialog').kendoDialog({
...
actions: [
{ text: 'Cancel'},
{ text: 'OK', primary: true, action: function(e) { _dialogActionOK(); } }
],
initOpen: function (e) { _dialogInitOpen(); },
open: function (e) { _dialogOpen(); }
What is the simplest way to change the functions called runtime?
$('#dialog').initOpen( function(e) { newMethod(); }) ?
Thanks for the help