This content has been marked as final.
Show 2 replies
-
1. Re: How to set row selection on UIScrollableDataTable
konstantin.mishin Oct 16, 2009 8:54 AM (in response to eugenecoelho)Try to use Integer or int instead of ScrollableTableDataModel.SimpleRowKey.
-
2. How to set row selection on UIScrollableDataTable
usagi Jan 12, 2011 5:10 AM (in response to eugenecoelho)For answering your problem, did you refresh the scrollableDataTable after the selection? Not rerendering the table will not reflect server side changes on the client side.
I could set selected row, by using something like this:
Eugene Coelho wrote:
selection.clear();
selection.addKey(new ScrollableTableDataModel.SimpleRowKey(1));
table.setSelection(selection);Using this, the row gets selected. My problem is, that if this selected row is not visible on the screen, the control does not scroll to show it.