Completed
Last Updated: 20 Nov 2014 18:17 by ADMIN
Jack
Created on: 19 Nov 2011 13:02
Category: Data Source
Type: Feature Request
18
Load treeview on demand (requires databinding to datasource URGENTLY)
Like many other Kendo components, the treeview is not mature enough to be considered to display dynamic hierarchical data in a LOB application (features limit its use to a static web site).

I can only recommend to urgently add databinding to a datasource. Then you will have to consider loading the dataSource on demand. See http://demos.telerik.com/aspnet-mvc/treeview/ajaxloading
6 comments
Allan
Posted on: 20 Apr 2012 15:17
Will a binding to a remote datasource be included in the Q2 2012 release?
alistair
Posted on: 23 Mar 2012 06:02
Please add databinding to the treeview as a matter of urgency. Why aren't you able to use what you learnt from the Telerik MVC treeview which does this binding really well?
Jack
Posted on: 05 Dec 2011 18:04
@jpv
Apart from loading the tree on demand, especially on expanding nodes, one of the great benefits of wiring the tree to a dataSource which your sample does not provide is the ability to update the dataSource when renaming or dragging and dropping nodes with batch updates or single updates.
Jack
Posted on: 05 Dec 2011 17:57
@jpv
Although Telerik could certainly consider a hierarchical datasource (see http://www.infragistics.com/dotnet/netadvantage/aspnet/webhierarchicaldatasource.aspx#Overview), a tree can easily be represented in a tabular datasource with a parentId column. A tabular datasource works well with loading on demand since you would load all nodes with the same parentId.
J.P
Posted on: 05 Dec 2011 17:40
Globally that's what i asked : http://kendo.uservoice.com/forums/127393-kendo-ui-feedback/suggestions/2409328-building-a-tree-with-an-object-

In my example, data is loading via ajax (work good even for ~large object giving a tree whith more than 100 lines (<ul> or <li>). But hierarchical data in a datasource ? It's tabular data in fact ?
Dean
Posted on: 02 Dec 2011 18:00
Nice idea.  CF has nice node level linking from TreeNode Selected - to the grid presentation in an IFrame or Div.