Task color after adding resource

2 posts, 1 answers
  1. Ran
    Ran avatar
    29 posts
    Member since:
    Apr 2015

    Posted 13 Dec 2015 Link to this post


    Here is my code: 


    I added button on top "ADD ROUTE".

    This button simulates adding a route to the $scope.route which serve the resources.

    After adding a new route, I tried to create a new task using the new route (Route 3).

    Unfortunately, the task color remains the default color instead of the new route color.

    Any suggestions?



  2. Answer
    Dimiter Topalov
    Dimiter Topalov avatar
    633 posts

    Posted 15 Dec 2015 Link to this post

    Hello Ran,

    Modifying the Kendo UI Scheduler resources after the widget's initialization is not supported out-of-the-box. However, there are a couple of ways to achieve the required behavior:

    1) Destroy the widget and re-initialize it with the new resource settings (this is the recommended approach)

    2) Examine the following forum thread and example



    I hope this helps.

    Dimiter Topalov
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Back to Top