I'm progressively adding children to the HierarchicalDataSource via AJAX calls that populate the items array of an exists data item with the returned results.
The only way I've found to refresh the diagram is to recreate the HierarchicalDataSource with the revised data, and then call diagram.setDataSource(...).
Is that the correct method? It seems a bit heavy handed to me.
Thanks,
Gary
The only way I've found to refresh the diagram is to recreate the HierarchicalDataSource with the revised data, and then call diagram.setDataSource(...).
Is that the correct method? It seems a bit heavy handed to me.
Thanks,
Gary
5 Answers, 1 is accepted
0
Hi Gary,
This is known issue. We will try to resolve it as soon as possible.
Regards,
Hristo Germanov
Telerik
This is known issue. We will try to resolve it as soon as possible.
Regards,
Hristo Germanov
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0
Kejal
Top achievements
Rank 1
answered on 12 Aug 2016, 02:41 PM
Do we have a solution for this now?
0
Kejal
Top achievements
Rank 1
answered on 12 Aug 2016, 02:42 PM
Is this issue resolved?
0
Kejal
Top achievements
Rank 1
answered on 12 Aug 2016, 02:45 PM
Is this issue resolved?
0
Hi Kejal,
The issue has been resolved by implementing a refresh() method, which forces the Diagram to reload its shapes data-source. You can test it here:
http://dojo.telerik.com/@veselinar/aKomi
Regards,
Vessy
Telerik by Progress
The issue has been resolved by implementing a refresh() method, which forces the Diagram to reload its shapes data-source. You can test it here:
http://dojo.telerik.com/@veselinar/aKomi
Regards,
Vessy
Telerik by Progress
Get started with Kendo UI in days. Online training courses help you quickly implement components into your apps.