I have seen some talk on how to do this @
RF-1254 (https://jira.jboss.org/jira/browse/RF-1254?page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel) ((I don't know how to link to the issue))
But I cant seem to get it to work. I believe I have bound my table, via the "binding" attribute in the <rich:scrollableDataTable> tag. As well as the sortOrder and Selection. How ever when I set anything in the java "table" object it seems to never get called back. I used a break point in the getTable method hoping to catch the call when the scrollableDataTable reRendered but it was never hit.
I tried to use logic and in the java table object I simply wiped out the selection via "((SimpleSelection)table.getSelection()).clear()" and then tried to replace with a hardcoded one just to see effect via "((SimpleSelection)table.getSelection()).addKey(new ScrollableTableDataModel.SimpleRowKey(0))"
Are there any examples of this being done that work? I need to be able to see how it was handled in the backing bean.
Any help would be great.
Check livedemo example please. There the usage of selection shown. I know that there only getting example but setting is fully similar. You should not even use binding for this case.