Angular Celndar - set dates and month template

2 posts, 0 answers
  1. Nick
    Nick avatar
    1 posts
    Member since:
    Jul 2012

    Posted 22 Jan 2017 Link to this post


    I'm having trouble replicating the demo for the calendar in angular - Customizing Templates 

    I want to be able to pass it a list of dates from a scope variable and have the dates shown on the calendar with a different style from a template.

    I would also like to be able to update the list of dates after the widget has been initialized. Is this possible with the calendar and angular?

    I've tried setting the 'month' and 'dates' attributes in markup to my scope variable but it's not working.




  2. Stefan
    Stefan avatar
    1931 posts

    Posted 25 Jan 2017 Link to this post

    Hello Nick,

    I made the same example in AngularJS:

    As for updating the list of values, this is currently not supported. I can suggest destroying the widget first and then re-creating it with the new values:

    I hope this is helpful.

    Telerik by Progress
    Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Back to Top