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


Win a copy of JavaScript Promises Essentials this week in the JavaScript forum!
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