All Telerik .NET tools and Kendo UI JavaScript components in one package. Now enhanced with:
hi
i need use MVVM (dateHeaderTemplate) but can not show anything sample
thank you
Hello Vahid,
To achieve the needed result you can see the dojo linked here.
In the dojo, I removed the property you used: date-header-template, and add it to "data-views":
<div data-role="scheduler" data-views="[{ name: 'day', dateHeaderTemplate: 'Test this <h1>#=kendo.toString(date, \'d\')#</h1>' }]" data-bind="source: tasks" style="height: 400px"></div>
To customize dateHeaderTemplate you could change the content of it as in the example below:
dateHeaderTemplate: 'Test this <h1>#=kendo.toString(date, \'d\')#</h1>'
I hope this will help in your scenario.
Regards, Lyuboslav Progress Telerik
Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.