sorting extendeddatatable in richfaces
Posted
by
user414597
on Stack Overflow
See other posts from Stack Overflow
or by user414597
Published on 2010-08-23T19:12:15Z
Indexed on
2010/12/24
7:54 UTC
Read the original article
Hit count: 174
richfaces
Hello All,
does anyone know how exactly the default sorting works in richfaces datatable columns? (using sortby)
My problem is that once a sort has been performed, the new data order is never preserved in my backing's bean data model (which makes me wonder where is this new order now stored?), that is the actual datamodel always contains just the original data.. So if say user goes to a another page and returns to what should be sorted data (using back button) , the data displays as original, not sorted.. Has anyone come across this?
also, is there a way to do server side sorting, i.e. call my own sort method upon clicking the header..?
many thanks for any advice!
© Stack Overflow or respective owner