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

JavaScript API method for reload/refresh

1 Answer 212 Views
Diagram
This is a migrated thread and some comments may be shown as answers.
Derek
Top achievements
Rank 1
Derek asked on 20 Oct 2015, 05:45 PM

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

1 Answer, 1 is accepted

Sort by
0
Kiril Nikolov
Telerik team
answered on 22 Oct 2015, 11:21 AM

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!
 
Tags
Diagram
Asked by
Derek
Top achievements
Rank 1
Answers by
Kiril Nikolov
Telerik team
Share this question
or