JavaScript API method for reload/refresh

2 posts, 0 answers
  1. Derek
    Derek avatar
    12 posts
    Member since:
    Jan 2011

    Posted 20 Oct 2015 Link to this post

    Hi,

    Is there a method in the diagram JavaScript API to reload or refresh the diagram (such as when the underlying data source and connections data source change)?

    If not, what is the recommended set of steps for doing so?  Reassign the data source and connections data source?

    thanks,

    Derek

  2. Kiril Nikolov
    Admin
    Kiril Nikolov avatar
    2565 posts

    Posted 22 Oct 2015 Link to this post

    Hello Derek,

     

    Currently the Kendo UI Diagram has no refresh method, however if you want to get new data from your remote service, you can use the dataSource.read() method that should fetch the new data.

     

    Regards,
    Kiril Nikolov
    Telerik
     
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
     
  3. Kendo UI is VS 2017 Ready
Back to Top