Hi guys, it's fairly difficult to create a true sortable tree with the jQuery UI sortables. The basics are there, but there's a lot of work that needs to be done in order to work correctly.
That's why we're working on a addition on top of the jQuery UI sortables, to provide a true tree behaviour, probably a candidate for a next UI version. The current state can be found at the jQuery UI SVN at branches/experimental/ui/ui.tree.js. Hope this helps, Paul On Mon, Dec 29, 2008 at 7:34 PM, Andries Snyman <[email protected]> wrote: > Hope someone will be able to shed some light on this. > I think I understand what you want, sorry I can't help more. > > Currently I'm using the plugin also as a means to sort a tree, it works > nice and it's kindof easy to edit and chop and change as you like. The style > is a bit sloppy, especialy all the icons that's defined all over the place. > > May be you don't need to use the plugin, but with a bit of effort their > code may help you with dropping something in the empty list. > > Regards > > On Mon, Dec 29, 2008 at 4:38 PM, Sebastian Deutsch < > [email protected]> wrote: > >> >> Hi, >> >> currently I'm using the interface plugin - which works awesome for me. >> It even has a slight better user experience than the UI sortable (it >> feels a little bit faster). >> >> But actually I want to try out the UI components because I'm afraid, the >> more complex my application gets the will my UI code look like a plugin >> collection. >> >> What would be really interesting to know: >> >> - am I using the component the right way? >> - was it not to be meant to sort trees? >> >> *.sebastian >> >> Andries Snyman schrieb: >> > Hi, >> > >> > May be look at what these ppl did on this jquery plugin if you did not >> > already, I use it and it works great :) >> > http://news.kg/wp-content/uploads/tree/ >> > >> > Kind regards >> > >> > On Mon, Dec 29, 2008 at 3:32 PM, Sebastian Deutsch >> > <[email protected] <mailto:[email protected]>> >> wrote: >> > >> > >> > Hmmm, >> > >> > digging into the group - I find a lot of people having the same, or >> > almost the same problem. Some are suggesting to set DropOnEmpty, >> some >> > are proposing an empty <li> element. >> > >> > None of the ways works for me - noone out here? >> > >> > *.sebastian >> > >> > Sebastian Deutsch schrieb: >> > > Hello, >> > > >> > > I'm trying to realize a sortable treeview with nested lists. In >> the >> > > first place everything seems to work fine, but then I realized >> once a >> > > list is empty - I can't drop an element inside again. I prepared >> a >> > > little demo for that: >> > > >> > > http://www.9elements.com/projects/draganddrop/ >> > > >> > > Any fixes? Any tipps? Any workarounds? >> > > >> > > Cheers >> > > >> > > Sebastian >> > > >> > > ps: I already tried to make an unmovable element, so that the >> list >> > > will never be empty. I also have tried to give the list a >> min-height. >> > > Both ways did not work. >> > > >> > > > >> > >> > -- >> > Sebastian Deutsch >> > --------------------------------------------------------------- >> > www.9elements.com <http://www.9elements.com/> >> > Kortumstr. 19-21 >> > 44787 Bochum >> > Tel: 0234 - 689 41 88 >> > Mobil.: 0177 - 331 21 98 >> > Skype: sebastian.deutsch >> > Xing: https://www.xing.com/profile/Sebastian_Deutsch >> > >> -------------------------------------------------------------------------- >> > >> > >> > >> > >> > > >> >> -- >> Sebastian Deutsch >> --------------------------------------------------------------- >> www.9elements.com >> Kortumstr. 19-21 >> 44787 Bochum >> Tel: 0234 - 689 41 88 >> Mobil.: 0177 - 331 21 98 >> Skype: sebastian.deutsch >> Xing: https://www.xing.com/profile/Sebastian_Deutsch >> -------------------------------------------------------------------------- >> >> >> > > > > -- Paul Bakaus UI Architect -- http://paulbakaus.com http://www.linkedin.com/in/paulbakaus --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "jQuery UI" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/jquery-ui?hl=en -~----------~----~----~----~------~----~------~--~---
