E electro179 Active Member Licensed User Longtime User Jun 24, 2014 #1 Hi I have a problem with tableview. I have a tableview with 20 columns. In each column I have a label If I click on the label, I change the label in combobox or textfield to can change the value. until OK. My problem is the horizontal scrollbar which moves at each times. if I see the column 17-18-19-20. I want to edit column 19. In my code I give the focus on the combobox in the column and the horizontal scroll move until column 10-11-12-13. have you a solution ? thank you Last edited: Jun 24, 2014
Hi I have a problem with tableview. I have a tableview with 20 columns. In each column I have a label If I click on the label, I change the label in combobox or textfield to can change the value. until OK. My problem is the horizontal scrollbar which moves at each times. if I see the column 17-18-19-20. I want to edit column 19. In my code I give the focus on the combobox in the column and the horizontal scroll move until column 10-11-12-13. have you a solution ? thank you
Erel B4X founder Staff member Licensed User Longtime User Jun 24, 2014 #2 What causes the horizontal scrollbar to change its position? When exactly does it happen? Upvote 0
E electro179 Active Member Licensed User Longtime User Jun 25, 2014 #3 When I do this : TableView_Main_Rdm.Items.Set(index,row) Upvote 0
Erel B4X founder Staff member Licensed User Longtime User Jun 25, 2014 #4 You can use labels as the values and then update them without changing the table items: http://www.b4x.com/android/forum/threads/tableview-tutorial.35542/ This will prevent scrolls from changing. Upvote 0
You can use labels as the values and then update them without changing the table items: http://www.b4x.com/android/forum/threads/tableview-tutorial.35542/ This will prevent scrolls from changing.
E electro179 Active Member Licensed User Longtime User Jun 25, 2014 #5 I use already label. I have 20 column with 20 label when I click on the label the cell with the label must change in textfield How do I do to change the cell without use the function ....items.set ? thank you Upvote 0
I use already label. I have 20 column with 20 label when I click on the label the cell with the label must change in textfield How do I do to change the cell without use the function ....items.set ? thank you
Erel B4X founder Staff member Licensed User Longtime User Jun 26, 2014 #6 See the example: http://www.b4x.com/android/forum/threads/tableview-tutorial.35542/ Upvote 0