Hi All,
I've just copied the example datatableComples from the showcase http://www.primefaces.org/showcase/ui/d ... omplex.jsf and the sorting is not working as expected.
If I click on the sort arrow it wont sort the table... but If I enter something in the filter of any column and then delete it (the filter text box) then the sort starts working correclty !!!! very odd
any ideas ?
(I'm using 2.2)
thanks !
dataTable sort not working all the time
We do store the records in a List in the backing bean. We fill the list once and then just use it. This seams to help for the sort.
Mojarra 2.0.4 / Glassfish v3.1 / Primefaces 2.2.1 / Netbeans 7 / OS X
-
- Posts: 90
- Joined: 19 Dec 2010, 17:08
It display the data correctly and sorting start to work only after that I have entered something in the filter text box and then deleted it..... it works also if I enter space (" ") in a filter text box....
-
- Posts: 90
- Joined: 19 Dec 2010, 17:08
yes exactly...
now, as in the showcase it is working fine, that means that there is a way.... but cannot find it documented anywhere...
by the way I'm using the latest stable (2.2)
now, as in the showcase it is working fine, that means that there is a way.... but cannot find it documented anywhere...
by the way I'm using the latest stable (2.2)
-
- Posts: 90
- Joined: 19 Dec 2010, 17:08
I've updated to 2.2.1 and the problem is still there... there is another way to "make" it work: click on the filter box and press any key... yes any, even Esc.. after that it starts to work...
should I rise a ticket ?
should I rise a ticket ?
-
- Information
-
Who is online
Users browsing this forum: No registered users and 19 guests