yiiext/nested-set-behavior

Visualization of tree

gb5256 opened this issue · 2 comments

Hello out there. First of all: thanks for this extensions. This is awesome.
I am currently using jstree-nested-behaviour, but that code is a mess.
Yours here look so much better.

I do have one question: What do you guys use to visualize the tree?
Dynatree? Jstree? Something else?
Both have their pros and cons (my fav is dynatree and feed it with a JSON ).
Do you have suggestions?

thanks,
gb5256

I'm a beginner regarding Yii so I'm not sure if this helps you.

For a simple display of the tree I use CTreeView from Yii...
Like described here:
http://blog.abdullahsolutions.com/2012/09/using-ctreeview-with-nestedsetbehavior.html

For Admin Issues I use QTreeGridView:
http://quantum13.ru/page/qtreegridview-rasshirenie-dlja-adminki-yii-dlja-raboty-s-derevjami-nested-sets

It is in russian, but with google translate you can get it working pretty fast.

Regards

Check out @cornernote's http://cornernote.github.io/yii-menu-module/ for a sample implemetation of a nested set tree visualization