I would like to be able to select all the rows in a table programmatically.
I can select them with a mouse by selecting the first row, scrolling to end and Shift-Clicking on the last row. So far my efforts to do this via a program have failed:
selects each track one at a time, and at the end I just have the last track selected. I want to add them all to the SelectedRows array (in TableViewExtension) but it is read-only. Is there an approach I am missing?
I can select them with a mouse by selecting the first row, scrolling to end and Shift-Clicking on the last row. So far my efforts to do this via a program have failed:
B4X:
For i = 0 To tblMediaTracks.Items.Size-1
tblMediaTracks.selectedrow = i
Next