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

Get method

2 Answers 128 Views
Hierarchical Data Source
This is a migrated thread and some comments may be shown as answers.
Bolshchikov
Top achievements
Rank 2
Bolshchikov asked on 01 Nov 2012, 09:21 AM
As far as I understood, HierarchicalDataSource does not have get method, meaning recursively traverse the structure for a node by its attribute. Am I correct?

2 Answers, 1 is accepted

Sort by
0
P
Top achievements
Rank 1
answered on 12 Nov 2012, 07:43 PM
That is a great question - I have spent countless hours trying to figure this out.

According to this post (http://www.kendoui.com/forums/ui/treeview/programatically-select-a-tree-node.aspx#2307355) get() is supposed to work on hierarchical datasources.

But all my testing has shown me that get() only works on the top level children - it does not recursively work.  I hope Kendo works on the documentation on this area.

I have opened support tickets to see if I have missed something but no response so far.
0
Vladimir Iliev
Telerik team
answered on 15 Nov 2012, 05:00 PM
Hi Sergey,


Please note that from the KendoUI 2012 Q3 release the Get method searches through all currently loaded nodes. If you need to search through all nodes you should set the LoadOnDemand option to false.

Kind Regards,
Vladimir Iliev
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Tags
Hierarchical Data Source
Asked by
Bolshchikov
Top achievements
Rank 2
Answers by
P
Top achievements
Rank 1
Vladimir Iliev
Telerik team
Share this question
or