标签:blog io java on 2014 log cti 代码 ad
环境:Jdeveloper 12c
代码如下:
RowKeySet rks = new RowKeySetImpl(); CollectionModel model = (CollectionModel) empTable.getValue(); model.setRowIndex(10); Object key = model.getRowKey(); rks.add(key); empTable.setSelectedRowKeys(rks);
运行如下:
动态设置:
标签:blog io java on 2014 log cti 代码 ad
原文地址:http://blog.csdn.net/luyushuang/article/details/41895207