-
Bug
-
Resolution: Done
-
P2: Important
-
4.7.0
-
None
-
bccb1a82fd796ca31b8b4777c29344bafc6d71d6
There is no obvious way to clear the selection (remove the highlight) in a ListView.
I tried setting the currentIndex property to -1 but that just selected the first item. To my surprise, the highlight was removed when I changed the currentIndex property to a value greater or equal to count. This sounds like a bug?
I think there should be an obvious way to clear the selection, like having a 'clearSelection' method on the ListView.