I did some research on drag and drop nested sortables, which we
considered for letting users move content around.
There are three reasonable offerings, namely:
- jsTree (http://www.jstree.com/jsTree/examples)
- NestedSortablesWidget
(http://www.bernardopadua.com/nestedSortables/test/widget)
- Nested list (http://www.swartzfager.org/blog/dspNestedList.cfm)
I believe the first one is the most complete and supported; I tried to
integrate but had some error which I'll investigate further.
Then I came upon this development document:
- http://jqueryui.pbwiki.com/Tree
Basically it seems that the UI team is in the process of developing a
standard widget for this sort of thing. Perhaps then, we should wait a
few months until it's ready and meanwhile implement a simpler
interface.
Challenges:
- We probably don't want to load the entire tree at once, although
this is probably not a real concern at first.
- Not all content can be dragged to all places; only if the content
type is addable at the drop point should we allow it. I'm not sure how
we'd configure the plugins to take this into account.
\malthe
Hello list, –––
I did some research on drag and drop nested sortables, which we
considered for letting users move content around.
There are three reasonable offerings, namely:
- jsTree (http://www.jstree.com/jsTree/examples)
- NestedSortablesWidget
(http://www.bernardopadua.com/nestedSortables/test/widget)
- Nested list (http://www.swartzfager.org/blog/dspNestedList.cfm)
I believe the first one is the most complete and supported; I tried to
integrate but had some error which I'll investigate further.
Then I came upon this development document:
- http://jqueryui.pbwiki.com/Tree
Basically it seems that the UI team is in the process of developing a
standard widget for this sort of thing. Perhaps then, we should wait a
few months until it's ready and meanwhile implement a simpler
interface.
Challenges:
- We probably don't want to load the entire tree at once, although
this is probably not a real concern at first.
- Not all content can be dragged to all places; only if the content
type is addable at the drop point should we allow it. I'm not sure how
we'd configure the plugins to take this into account.
\malthe