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 already have an active moderator alert for this content.
The problem is, that I always get a NullPointerEx. if I
try to acces the tableview object.
Add comment