Reputation: 45
Is there any property by which i can scroll up and down on button clicked in tableview. I don't want vertical scroll bar visible but i want to make it scroll on button clicks ?
I don't want to increment currentrow value, i want to make currentrow value fix, I just want to scroll tableview list on button click.
Upvotes: 1
Views: 995
Reputation: 32635
You can use flick
method to scroll TableView
. For scrolling down:
myTableView.flick(0, -1000)
and for scrolling up:
myTableView.flick(0, 1000)
Here 1000
is the velocity in y direction. You can change it to your desired value.
Upvotes: 1