kendo ui - KendoWindow: setOptions is not working to set actions -



kendo ui - KendoWindow: setOptions is not working to set actions -

in jsfiddle have 2 kendowindow objects. first one, dialog1, has custom icon on bar. sec one, dialog2, doesn't have icon though "actions" attribute set setoptions.

any ideas why setoptions not working?

this javascript:

$("#dialog1").kendowindow({ width: 200, height: 200, actions: ["custom", "close"] }); $("#dialog1").closest(".k-window").css({ top: 20, left: 20 }); $("#dialog2").kendowindow(); var dialog2 = $("#dialog2").data("kendowindow"); dialog2.setoptions({ width: 200, height: 200, actions: ["custom", "close"] }); $("#dialog2").closest(".k-window").css({ top: 20, left: 300 });

the kendo team fixed bug oct 14, 2014.

here issue on github , commit fixes it.

you can wait next release, or if using free/opensource kendo ui core, can create new build github repo. think if using paid version of kendo ui, there might way download latest internal build telerik account.

kendo-ui

Comments

Popular posts from this blog

xslt - DocBook 5 to PDF transform failing with error: "fo:flow" is missing child elements. Required content model: marker* -

mediawiki - How do I insert tables inside infoboxes on Wikia pages? -

Local Service User Logged into Windows -