The selectedRows property of a table is read only, so is there another way to programmatically select multiple rows in a table?
I don’t think you can programmatically select multiple rows, unless they are all within the same interval (in which case you would use setRowSelectionInterval()). You can use setSelectedRow() to change a single row. If you use setRowSelectionInterval(), be sure to change the table property “selection mode” to “multiple interval”. Here’s some more information about table functions:
You can call setSelectionInterval multiple times.