I am using a MySQL Nested Set approach to store the classification of the various products that are sold on the website. I am looking for a nice javascript library to help out with rendering the tree from the nested set approach. I also need a good javascript drag and drop script to re-arrange and update the MySQL table.
Are there any good javascript libraries that will let me to do the following the the mysql table that stores values using the nested set model?
- Display from the table as a tree
- Re-arrange the tree in Javascript and save it into the MySQL table using PHP
I have been trying to get this working with ExtJS/jQuery, etc. I can get the first part working by generating ul, li elements using PHP. I cannot find a Javascript library that will work with nested set and send data to PHP. I tried ExtJS using its Nested Set Model but I didn't have much luck.