B4J Question How can I scroll the rows of a TableView?

romario87027

Active Member
Licensed User
Longtime User
You can use TableView.ScrollTo.
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

eps

Expert
Licensed User
Longtime User
Can you not do a scroll to +10 or something, so effectively paginate? or -10 if the swipe is the other way?
 
Upvote 0

Sytek

Active Member
Licensed User
Longtime User
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 ()?

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:
Upvote 0
Top