Hi,
I'm wondering if the window title can be bound to a view model, so it can be modified via the view model at run time. Currently I have data-title set in the html, but I would like to be able to change the title via the view model (presumably in the data-bind section).
<div id="window1" data-role="window" data-resizable="false" data-modal="true" data-title="windowTitle1" data-bind="invisible: vmInvisible" data-width="300"><br></div>
Can the title be modified in a vew model, or can it only be set via the title() method?
var kendoWindow = $("#window").data("kendoWindow").title("Do a barrel roll!");
I tried using data-bind="attr: {title: windowTitle2 }" but this doesn't work on window, is there another way of doing it?
Thanks,
Andrew