Dynamically load resources

2 posts, 0 answers
  1. Zohar
    Zohar avatar
    1 posts
    Member since:
    Jun 2014

    Posted 14 Aug 2014 Link to this post


    I need to dynamically load the resources of the scheduler object.  Here is an example to explain the issue I am having.

    I have a database of over 5,000 people all of whom have events. When the user is looking at a schedule for the month of January I want to load all the events of that month along with all the attendees as resources ( lets say 100 people). I do not want to have to load all 5,000 people as resources as that is going to bog down the network.  When the user then changes the view to February I want to load all the February events and all the February resources. 

    The problem I am having is how to dynamically load these people/resources and how to refresh the scheduler once they have loaded.

    I don't know if it makes a difference but I am using the scheduler with angular.
  2. Vladimir Iliev
    Vladimir Iliev avatar
    2194 posts

    Posted 18 Aug 2014 Link to this post

    Hi Zohar,

    You can use for example the "navigate" event of the scheduler to refresh the resource from remote source or local array - please check the example below:

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