Binding to Remote data

8 posts, 0 answers
  1. Steve
    Steve avatar
    1851 posts
    Member since:
    Dec 2008

    Posted 30 Oct 2013 Link to this post

    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?
  2. Cyndie
    Cyndie avatar
    114 posts
    Member since:
    Jul 2010

    Posted 30 Oct 2013 Link to this post

    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.
  3. Kendo UI is VS 2017 Ready
  4. Rosen
    Admin
    Rosen avatar
    3234 posts

    Posted 31 Oct 2013 Link to this post

    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!
  5. Steve
    Steve avatar
    1851 posts
    Member since:
    Dec 2008

    Posted 31 Oct 2013 Link to this post

    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?
  6. Steve
    Steve avatar
    1851 posts
    Member since:
    Dec 2008

    Posted 31 Oct 2013 Link to this post

    Well...I guess it's not such a big deal with the navigate event...just can't seem to get it to fire :/
  7. Rosen
    Admin
    Rosen avatar
    3234 posts

    Posted 01 Nov 2013 Link to this post

    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!
  8. Steve
    Steve avatar
    1851 posts
    Member since:
    Dec 2008

    Posted 01 Nov 2013 Link to this post

    How do I "Enable Server Operations"?

    serverFiltering is set to true, but when I navigate the DS defiantly doesn't call back automatically
  9. Rosen
    Admin
    Rosen avatar
    3234 posts

    Posted 04 Nov 2013 Link to this post

    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!
Back to Top
Kendo UI is VS 2017 Ready