2 Replies Latest reply on Jan 15, 2009 3:44 AM by Edwin van der Elst

    Custom filtering and sorting

    Edwin van der Elst Newbie

      I try to use a <h:selectOneMenu> in the header (facet) of a column, to filter on that column. This works using a a4j:support onchange.

      When I try to combine this with a 'sortBy' expression, the column is re-sorted when I select an item from the list.
      This is not what I want, but the 'click' on the h:selectOneMenu is also picked up for changing the sort-order.

      Is there a way to avoid this issue? Or can I use a selectOneMenu with the build-in filtering logic, instead of a inputText (the default component)

      Edwin van der Elst