aspose file tools*
The moose likes JSF and the fly likes Sorting is not working in my JSF PrimeFaces Datatable and blank (empty) rows are displayed filtering Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSF
Bookmark "Sorting is not working in my JSF PrimeFaces Datatable and blank (empty) rows are displayed filtering" Watch "Sorting is not working in my JSF PrimeFaces Datatable and blank (empty) rows are displayed filtering" New topic
Author

Sorting is not working in my JSF PrimeFaces Datatable and blank (empty) rows are displayed filtering

s pm
Greenhorn

Joined: Feb 22, 2011
Posts: 2

I am using primefaces-2.2.1.jar, jsf-api-2.0.4-b09.jar, jsf-impl-2.0.4-b09.jar (Mojarra), Facelets. I have got a complex datatable with paging, filtering and sorting.
I have got the following two problems.
1. Sorting is not at all working in my PrimeFaces Datatable. Nothing happens when I click on the column name only the arrow icon moves up and down.
2. After doing filtering if I click on any page number then blank (empty) rows are displayed. For e.g. http://img203.imageshack.us/i/65541713.jpg/

My every element in the list is like this
element 1 - id 231ab4 - String
carsettings - Map
|
|--- car-color: Black
|--- model: Classic A322
|--- manufacturer: BMW
element 2
element 3
...




Please help at the earliest
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Sorting is not working in my JSF PrimeFaces Datatable and blank (empty) rows are displayed filtering
 
Similar Threads
Submit dataTable fields
Primefaces datatable only show last item
Problem trying to send file to browser in JSF
SelectListener for DataTable populated with ActionListener - infact if the initial size = 0
Updating a form in primefaces when a selection is made in the datatable