Dear all,
PickList component has been enhanced with drag drop based reordering, various transition effects, theme support, captions and more. Online demo is at;
http://www.primefaces.org/showcase/ui/picklist.jsf
As it is a new component, your feedback of this early work is welcome as always.
Regards,
Cagatay Civici
PrimeFaces Lead
New PickList
-
- Prime
- Posts: 18616
- Joined: 05 Jan 2009, 00:21
- Location: Cybertron
- Contact:
Hello Cagatay,
Great component. A couple of months ago I implemented a similar component by using of jQuery sortable http://jqueryui.com/demos/sortable/#connect-lists. I see you use it too. Well. I have two important features which are missing in your implementation at the moment. Maybe you can add them to your picklist.
1) Client-side onChange events. <p:pickList onchangeSource="..." onchangeTarget="..." />. These events are fired if user moves items from source to target and vice versa.
2) Moving per double-click. A common picklist allows to choose items per mouse double-click on them. This is a common users experience and what they expect.
That was my feedback
Great component. A couple of months ago I implemented a similar component by using of jQuery sortable http://jqueryui.com/demos/sortable/#connect-lists. I see you use it too. Well. I have two important features which are missing in your implementation at the moment. Maybe you can add them to your picklist.
1) Client-side onChange events. <p:pickList onchangeSource="..." onchangeTarget="..." />. These events are fired if user moves items from source to target and vice versa.
2) Moving per double-click. A common picklist allows to choose items per mouse double-click on them. This is a common users experience and what they expect.
That was my feedback
PrimeFaces Cookbook (2. edition): http://ova2.github.io/primefaces-cookbook/ Learning Angular UI Development with PrimeNG: https://github.com/ova2/angular-develop ... th-primeng Blog: https://medium.com/@OlegVaraksin
And as mentioned in issue tracker a button based reordering is desired (from user experience). I see a problem if you have many many items and would like to reorder items per drag-&-drop because a scrollbar (I guess it appears with many items) does it difficult. Buttons are better. Thanks.
PrimeFaces Cookbook (2. edition): http://ova2.github.io/primefaces-cookbook/ Learning Angular UI Development with PrimeNG: https://github.com/ova2/angular-develop ... th-primeng Blog: https://medium.com/@OlegVaraksin
-
- Prime
- Posts: 18616
- Joined: 05 Jan 2009, 00:21
- Location: Cybertron
- Contact:
Thanks for all the feedback, noted down, I'll add these as well.
If two PickLists are shown on the same page as in the showcase http://www.primefaces.org/showcase/ui/picklist.jsf, it's possible to drag items from one PickList to the other PickList. For example, Messi can be dragged to the cities PickList, and Istanbul can be dragged to the footballer PickList. An option that would prevent this form being possible would be good.
-
- Prime
- Posts: 18616
- Joined: 05 Jan 2009, 00:21
- Location: Cybertron
- Contact:
That is not a bug but a feature Kidding, good catch Harry.
-
- Information
-
Who is online
Users browsing this forum: No registered users and 50 guests