I can't seem to figure out how to have the dialog actions bound to a function on the model.
I tried the following but it doesn't seem to work. What am I missing?
model = kendo.observable({
value: [],
save:
function
() { console.log(
'wheee'
); }
});
kendo.bind(el, model);
<div
data-animation=
"false"
data-visible=
"true"
data-role=
"dialog"
data-resizable=
"false"
data-title=
"Select Multiple"
data-actions=
"[{ text: \'Cancel\' }, { text: \'Apply\', action: save, primary: true }]"
></div>