S strupp01 Active Member Licensed User Longtime User Jul 1, 2017 #1 If a row is selected in ListView, I can use this markup with ListView.SelectedIndex = -1 Again. How does this work with TableView?
If a row is selected in ListView, I can use this markup with ListView.SelectedIndex = -1 Again. How does this work with TableView?
EnriqueGonzalez Well-Known Member Licensed User Longtime User Jul 1, 2017 #2 Tw.selectedrow And tw.selectedrowvalues() if you want the content of the cells Upvote 0
S strupp01 Active Member Licensed User Longtime User Jul 2, 2017 #3 Unfortunately the command 'Tw.selectedRow' does not work. I had already tried it with 'Tw.selectedRow = -1'. Upvote 0
Unfortunately the command 'Tw.selectedRow' does not work. I had already tried it with 'Tw.selectedRow = -1'.
Erel B4X founder Staff member Licensed User Longtime User Jul 2, 2017 #4 Do you want to clear the selection? Try this: B4X: Dim jo As JavaObject = tw jo.RunMethodJO("getSelectionModel", Null).RunMethod("clearSelection", Null) Upvote 0
Do you want to clear the selection? Try this: B4X: Dim jo As JavaObject = tw jo.RunMethodJO("getSelectionModel", Null).RunMethod("clearSelection", Null)
S strupp01 Active Member Licensed User Longtime User Jul 2, 2017 #5 That's it. Thats how it works. Thank you Upvote 0