JavaScript tree images using knockout.js

I use knockout.js quite efficiently in my latest web application, and this is great. However, now I need to implement treeview, and the current rivals are here: http://www.programmingsolution.net/useful-js/jquery-treeview.php

JSTree is the one that is in current development, but seems to require initialization with html or json - with a knockout, I would ideally want the ul list to be created automatically, and then the tree will automatically update after that. It seems that "Treeview" may use the existing ul list, but is deprecated

Does anyone else have experience using a knockout tree?

+4
source share
2 answers

it turns out that it does: http://bassistance.de/jquery-plugins/jquery-plugin-treeview/

bye, anyway.

hope this is helpful to someone else

+6
source

TreeView will not work with KnockoutJS, since both will modify the DOM model - you will not be able to access your observables from JSTree. Google for Knockout Kendo is a mashup of Knockout and Kendo that will allow you to use TreeView on your knockout website.

EDIT: However, note that Kendo is licensed under the GNU-GPL, which means that you must publish your site as open.

0
source

Source: https://habr.com/ru/post/1339027/


All Articles