PickList on Steroids

PrimeFaces PickList gets two major features for 3.4 release; Filtering and Ajax Transfers.

Filtering

PickList now supports client side filtering with 4 different match modes, startsWith, contains, endsWidth and custom. If you need custom filtering, you can bind your own javascript function via filterFunction option. Filtering is done on keyup event of an input field placed on top of the lists. This is an extremely useful feature to deal with huge lists.

Ajax Behavior for Transfer

When item(s) are transferred from one side to the other, you can hook-in using the new transfer ajax behavior event, the optional listener gets a TransferEvent containing information about the moved items and direction.

Demos

Check out PrimeFaces 3.4 Labs to see these in action!

This entry was posted in PrimeFaces. Bookmark the permalink.

12 thoughts on “PickList on Steroids

      • happy to support prime :) . I’ll try to donate a bit more the next time. Hope the rest of the community do the same.

        • I’d like to know how I could make my picklist larger, can somebody help-me ? thanks !

  1. “PickList on Steroids” – the topic name is very funny, Cagatay. I had to laugh this morning. :-) Thanks.

  2. Its a very fast filter tool for list…i quickly implemented it because i wanted to know if it was not as slow as filters on datatables.
    I wish we can have a global filter for list or data rendering components such can be adapted to p:trees and p:treetables.
    But all in all im proud to discover pf and pe. I could have been doing it the wrong way.