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

Treeview adding a node no sync is happening to remote transport

2 Answers 76 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
ringo
Top achievements
Rank 1
ringo asked on 20 Mar 2015, 10:47 AM
Situation:
Treeview with a 'remote' HierarchicalDataSource and autosync set to true.
Transport used: read/update/create/destroy

When adding a node it shows up in the treeview but no remote call (create you would expect) is made even after manually calling sync on the datasource.

Do I miss a step here ?


Another issue is when drag and drop a item in the treeview, it's calling the destroy transport. Is that normal ?

Cheers.

2 Answers, 1 is accepted

Sort by
0
Alex Gyoshev
Telerik team
answered on 24 Mar 2015, 11:54 AM

Hello Ringo,

Can you please provide a sample that shows this behavior, so that we can investigate?

> When drag and drop a item in the treeview, it's calling the destroy transport.
Yes, this is normal -- the item is removed from the parent location and is inserted at the child location. This is designed with heterogeneous datasources in mind (i.e. different levels are bound to different services).

Regards,
Alex Gyoshev
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
0
ringo
Top achievements
Rank 1
answered on 30 Mar 2015, 11:59 AM
Did redo all and now it seems to work. Have another issue now when selecting a node sometimes 2-3 updates are called but will look into that asap.

Cheers.
Tags
TreeView
Asked by
ringo
Top achievements
Rank 1
Answers by
Alex Gyoshev
Telerik team
ringo
Top achievements
Rank 1
Share this question
or