romario87027 Active Member Licensed User Longtime User Feb 27, 2014 #1 How can I scroll the rows of a TableView? I do not know how to scroll on TableView.
Erel B4X founder Staff member Licensed User Longtime User Feb 27, 2014 #2 You can use TableView.ScrollTo. Upvote 0
romario87027 Active Member Licensed User Longtime User Feb 27, 2014 #3 Erel said: You can use TableView.ScrollTo. Click to expand... I tried to make a scroll like that I do not know if it is correct B4X: For I= 0 To NRighe -1 TbwRiepilogo.SelectedRow = I Dim Row() As Object = TbwRiepilogo.SelectedRowValues CodCli = Row(3) Next I want to scroll without changing the select Upvote 0
Erel said: You can use TableView.ScrollTo. Click to expand... I tried to make a scroll like that I do not know if it is correct B4X: For I= 0 To NRighe -1 TbwRiepilogo.SelectedRow = I Dim Row() As Object = TbwRiepilogo.SelectedRowValues CodCli = Row(3) Next I want to scroll without changing the select
Erel B4X founder Staff member Licensed User Longtime User Feb 27, 2014 #4 Calling ScrollTo will not affect the selected row. Upvote 0
romario87027 Active Member Licensed User Longtime User Feb 28, 2014 #5 Erel said: Calling ScrollTo will not affect the selected row. Click to expand... But if you do not select how do I get the value of the Row()? B4X: TbwRiepilogo.ScrollTo (I) Dim Row() As Object = TbwRiepilogo.SelectedRowValues '???? Upvote 0
Erel said: Calling ScrollTo will not affect the selected row. Click to expand... But if you do not select how do I get the value of the Row()? B4X: TbwRiepilogo.ScrollTo (I) Dim Row() As Object = TbwRiepilogo.SelectedRowValues '????
eps Expert Licensed User Longtime User Feb 28, 2014 #6 Can you not do a scroll to +10 or something, so effectively paginate? or -10 if the swipe is the other way? Upvote 0
Can you not do a scroll to +10 or something, so effectively paginate? or -10 if the swipe is the other way?
romario87027 Active Member Licensed User Longtime User Feb 28, 2014 #7 eps said: Can you not do a scroll to +10 or something, so effectively paginate? or -10 if the swipe is the other way? Click to expand... My probelm is scroll the TableView to read the value. Upvote 0
eps said: Can you not do a scroll to +10 or something, so effectively paginate? or -10 if the swipe is the other way? Click to expand... My probelm is scroll the TableView to read the value.
romario87027 Active Member Licensed User Longtime User Feb 28, 2014 #9 eps said: Start at zero or page length? Click to expand... B4X: For I= 0 To NRighe -1 TbwRiepilogo.SelectedRow(I) Dim Row() As Object = TbwRiepilogo.SelectedRowValues CodCli = Row(3) Next I can do this without selected row ()? Upvote 0
eps said: Start at zero or page length? Click to expand... B4X: For I= 0 To NRighe -1 TbwRiepilogo.SelectedRow(I) Dim Row() As Object = TbwRiepilogo.SelectedRowValues CodCli = Row(3) Next I can do this without selected row ()?
eps Expert Licensed User Longtime User Feb 28, 2014 #10 You've seen the Tutorial? http://www.b4x.com/android/forum/threads/tableview-tutorial.35542/ Upvote 0
S Sytek Active Member Licensed User Longtime User May 9, 2014 #11 romario87027 said: B4X: For I= 0 To NRighe -1 TbwRiepilogo.SelectedRow(I) Dim Row() As Object = TbwRiepilogo.SelectedRowValues CodCli = Row(3) Next I can do this without selected row ()? Click to expand... Hello Romario I Scroll the tableview as follows, Hope this is what you're looking for B4X: For i = 0 To TbwRiepilogo.Items.Size - 1 TbwRiepilogo.SelectedRow = i Dim Row() As Object = TbwRiepilogo.SelectedRowValues Log(Row(0)) Next Best Regards! Last edited: May 10, 2014 Upvote 0
romario87027 said: B4X: For I= 0 To NRighe -1 TbwRiepilogo.SelectedRow(I) Dim Row() As Object = TbwRiepilogo.SelectedRowValues CodCli = Row(3) Next I can do this without selected row ()? Click to expand... Hello Romario I Scroll the tableview as follows, Hope this is what you're looking for B4X: For i = 0 To TbwRiepilogo.Items.Size - 1 TbwRiepilogo.SelectedRow = i Dim Row() As Object = TbwRiepilogo.SelectedRowValues Log(Row(0)) Next Best Regards!