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

Binding to Remote data

7 Answers 165 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
sitefinitysteve
Top achievements
Rank 2
Iron
Veteran
sitefinitysteve asked on 30 Oct 2013, 01:15 PM
I can't find any demos\examples of binding to large complex data?...does it not support this scenario?

We have thousands of events to show so I can't have a single callback to pull in 2500 events, but instead want it to send up the visible date range so the service can return the events in that time range.

...I mean that would work for day, week, month, not sure how I could get that to work in Agenda...is there a "View more"?

Anyway...yes...no....lots of custom code?

7 Answers, 1 is accepted

Sort by
0
Cyndie
Top achievements
Rank 1
answered on 30 Oct 2013, 06:40 PM
I'm interested in this as well.  Right now I'm sending the selected date to the read service and returning a set number of days before and after that date.
0
Rosen
Telerik team
answered on 31 Oct 2013, 06:44 AM
Hi Steve,

Please refer to this code library which demonstrates how to pass view's date range to the server and filter the events data.

Regards,
Rosen
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0
sitefinitysteve
Top achievements
Rank 2
Iron
Veteran
answered on 31 Oct 2013, 05:46 PM
Unless I'm missing it though...this doesn't automatically trigger off a new filter with the visible date range...I would still have to MANUALLY do everything right?
0
sitefinitysteve
Top achievements
Rank 2
Iron
Veteran
answered on 31 Oct 2013, 07:04 PM
Well...I guess it's not such a big deal with the navigate event...just can't seem to get it to fire :/
0
Rosen
Telerik team
answered on 01 Nov 2013, 06:52 AM
Hi Steve,

As shown in the sample a new request is triggered when the view or the date range is changed. Note that you will need to enable server operations, in order to force the DataSource to trigger request when those events occur. 

Regards,
Rosen
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0
sitefinitysteve
Top achievements
Rank 2
Iron
Veteran
answered on 01 Nov 2013, 06:27 PM
How do I "Enable Server Operations"?

serverFiltering is set to true, but when I navigate the DS defiantly doesn't call back automatically
0
Rosen
Telerik team
answered on 04 Nov 2013, 08:04 AM
Hi Steve,

Please check this short video which captures the code library's local behavior. Maybe, I'm missing something obvious.

Regards,
Rosen
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
sitefinitysteve
Top achievements
Rank 2
Iron
Veteran
Answers by
Cyndie
Top achievements
Rank 1
Rosen
Telerik team
sitefinitysteve
Top achievements
Rank 2
Iron
Veteran
Share this question
or