Re: In need of a Nested Set (graph) "editor"

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Daevid Vincent wrote:
I'm using nested sets in a mySQL database for categories. What I need now is an editor so that I can re-arrange the nodes graphically in the tree view either via drag/drop or by some kind of button/image to bump the node up to the parent level or down to the sibling, etc.. I've searched everywhere and can't find anything. I'd hate to re-invent this or have to build my own from scratch if I don't have to. This can either be in PHP or JS/DHTML/AJAX/Whatever. I'll take what I can get. This is for an internal tool if that matters -- as in, maybe someone has built this for their own use or company but can't make it public or something. Conversely, I'm happy to give (c) or other disclaimer credit in the source or on the page or whatever needs to be done to satisfy licenses... Closest I found was this link:
http://www.dotvoid.com/2007/09/reordering-nested-sets-using-php-and-javascript/
But it's only part of the solution.
Anyone have something like this or know where to get a tool that does this?


I'd strongly recommend using flex; it's got tree view by default; to feed flex all you need to do is convert your array to xml which isn't too hard; I've got a little object to do this in a flex accessible way if you need.

That's the easiest, quickest, re-usable solution; otherwise you need some good JS lib.

regards!

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux