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

How to Bind the Knockout Observable Array to the Kendo Treeview

1 Answer 232 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
Mallappa
Top achievements
Rank 1
Mallappa asked on 21 Feb 2013, 05:50 AM
Hi,

How can we bind the Knockout observable array into the kendo treeview?

I am glad to know both the ways, Bindng the knockout observable array directly into the knedo treeview if possible
and convertng the knockout observable array into kendo hierarchical data and then binding into the kendo treeview if first option is not possible.

Is it possible to provide a sample application?

Thanks,
Mallappa

1 Answer, 1 is accepted

Sort by
0
Atanas Korchev
Telerik team
answered on 21 Feb 2013, 02:47 PM
Hi,

 Currently the Kendo TreeView can only be bound to a Kendo DataSource. You can check the following examples for a reference:

http://demos.kendoui.com/web/treeview/local-data.html
http://demos.kendoui.com/web/treeview/remote-data.html

 There is also an open source library which aims to provide Knockout integration. You can find more info here: http://www.kendoui.com/blogs/teamblog/posts/12-12-20/knockout_js_and_kendo_ui_-_a_potent_duo.aspx

Regards,
Atanas Korchev
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Tags
TreeView
Asked by
Mallappa
Top achievements
Rank 1
Answers by
Atanas Korchev
Telerik team
Share this question
or