Setting the selected row in a list
I am using
For example, my list contains 5 rows. If I select row 5 it becomes blue. Then programaticly with the above code I select row 4. Now row 4 becomes blue, but row 5 is now grey. If I then select row 3, row 3 becomes blue and 5 is still grey.
Anybody know what I'm missing?
Thanks
list.setSelectedItems([])
to set which row is selected in a list. It seems to be working fine, but it is leaving a grey row where ever the selected row originally was.
For example, my list contains 5 rows. If I select row 5 it becomes blue. Then programaticly with the above code I select row 4. Now row 4 becomes blue, but row 5 is now grey. If I then select row 3, row 3 becomes blue and 5 is still grey.
Anybody know what I'm missing?
Thanks
Aaron Todd
October 19,