http://forum.primefaces.org/viewtopic.php?f=3&t=23872
It's about not being able to disable vertical drag and drop in a picklist, while you can disable (hide) the buttons that do so.
Quoting from there:
We're having the need for disabling drag n drop in a picklist in vertical direction only.You mean buttons? By the way, after 2 years of usage, you are the only one with this requirement so would like to learn why you are asking for this.
Being able to display the up and down buttons disables the ability to vertically sort via controls, however there's no way to disable this via drag and drop. The point is pretty much gone if you can still do so via drag and drop.
Example:
We have a list of parent items, where the children are displayed immediately following the parent object. On the UI (both sides) the structure looks like:
Compliance Rule (parent)
[ ] Compliance Rule - My Bad One
[ ] Compliance Rule - My Good One
[ ] Compliance Rule - What the Heck
Depots (parent)
[ ] Depots - Empty Ones
[ ] Depots - Orphaned Ones
Transactions (parent)
[ ] Transactions - Failed
[ ] Transactions - Succeeded
The [ ] simply represent a p:spacer 16x16 transparent icon rendered the left of the picklist entry, giving the illusion of a tree-like structure (2 levels only).
The problem is that the UI looks rather confusing when child items aren't displayed directly underneath their parents (we have icons for parent objects and the same for the children!). What we do on transfer now is to reorder the source and target lists, which works perfectly, but we cannot do this on vertical drag n drop actions... there's neither an event nor a "disable vertical reordering" attribute
The solution here would be to either disable vertical drag n drop via an attribute or offer a vertical drag n drop event (or both).
IMHO disabling the buttons is generally pointless when drag and drop can still be used.
Feature request posted here:
http://code.google.com/p/primefaces/iss ... il?id=6807
Thanks for listening
Any comments appreciated.
PS: related issue here: http://forum.primefaces.org/viewtopic.php?f=3&t=16615