I am using jquery plugin jstree to build a tree.
When I execute this plugin’s database file, this db has 2 field “left” and “right”, so I don’t know these fields are used to do what? If I set value of these fields to 0, the tree will show only root note, child notes will not appear.
Please explain me what use of field “left” and “right” in jsTree 🙂
Thank You!
It’s called Nested Set Model and it’s used for easy retriving of the whole tree with one db query