Tuesday, December 21, 2010

ADF Select the first row in a rich table programmatically

Object rowKey = resultTable.getAttributes().get("scrollTopRowKey");
RowKeySet rks = resultTable.getSelectedRowKeys();
rks.clear();
rks.add(rowKey);