Product Bundles
DevCraft
All Telerik .NET tools and Kendo UI JavaScript components in one package. Now enhanced with:
Web
Mobile
Document Management
Desktop
Reporting
Testing & Mocking
CMS
UI/UX Tools
Debugging
Free Tools
Support and Learning
Productivity and Design Tools
hi
i need use MVVM (eventTemplate) but not work sample
thank you
Hello Vahid,
I would suggest trying the solution in this Dojo. Here I used the "data-views" property to declare "eventTemplate" instead of "data-event-template":
<div data-role="scheduler" data-views="[{ type: 'day', eventTemplate: '<div class=\'movie-template\'>TEST:<span>#: title #</span>asd<span>#: description #</span></div>' }]" data-bind="source: tasks" style="width: 600px; height: 700px"></div> </div>
In this snippet below, I declared to have the "Title" word before the title of the event .
'<div class=\'movie-template\'>Title:<span>#: title #</span>asd<span>#: description #</span></div>
I hope the provided suggetsion will be helpful for resolving the issue.
Regards, Lyuboslav Progress Telerik