This is a migrated thread and some comments may be shown as answers.

Dynamically load resources

1 Answer 368 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
Zohar
Top achievements
Rank 1
Zohar asked on 14 Aug 2014, 07:27 PM
Hi,

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.

1 Answer, 1 is accepted

Sort by
0
Vladimir Iliev
Telerik team
answered on 18 Aug 2014, 12:50 PM
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:

Regards,
Vladimir Iliev
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
Tags
Scheduler
Asked by
Zohar
Top achievements
Rank 1
Answers by
Vladimir Iliev
Telerik team
Share this question
or