-
1. Re: scrollableDataTable selection after sort not working on Demo site
ilya_shaikovsky May 4, 2010 11:26 AM (in response to jdsuboy)this works as designed. when you sorting or filtering rowKeys are changed and the sorting after such actions - not actual.
-
2. Re: scrollableDataTable selection after sort not working on Demo site
jdsuboy May 4, 2010 11:33 AM (in response to ilya_shaikovsky)Thanks for the quick reply!
I want to keep the selection after sort in my code and I have been having problems doing this. I noticed prior discussions on this issue mentioning that the demo site has it working properly (i.e. selection is kept after sort). Did this change recently?
I have tried to do it programatically in my bean, but I cant get it to work. I have selection="#{myView.selection}" for my scrollableDataTable, but myView.getSelection is never called, so the selection in my bean is never returned. myView.setSelection is called when a row is clicked, for example, but my bean never gets asked for the selection.
Is there something I can do to get this selection after sort to work?