S strupp01 Active Member Licensed User Longtime User Jul 4, 2017 #1 I would like to sort a TableView. For this I found in the Internet a code of Erel and tried to use it. Unfortunately does not work. The sorting is not OK. Who can show me the error in my program? Attachments B4J_TableView_sort.zip 2.5 KB · Views: 224
I would like to sort a TableView. For this I found in the Internet a code of Erel and tried to use it. Unfortunately does not work. The sorting is not OK. Who can show me the error in my program?
stevel05 Expert Licensed User Longtime User Jul 4, 2017 #2 TH.SortColumn should be a string not a Label. Try: B4X: Dim L As Label = row(ColumnIndex) th.SortColumn = L.Text Upvote 0
TH.SortColumn should be a string not a Label. Try: B4X: Dim L As Label = row(ColumnIndex) th.SortColumn = L.Text