on 05-26-2004 10:17 PM
Hello,
how can I preselect some rows in a tableview ?
Regards,
Gerald
You can walk through the table and select the rows that you want to be preselected
int totalRows = searchTable.getRowCount();
for (int i = 1; i <= totalRows; i++){
if(someCondition){
searchTable.selectRow(i, true);
}
}
lakshmi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
89 | |
10 | |
9 | |
9 | |
9 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.