handet87
handet87

Reputation: 549

sencha touch scroll position

I have a list which is loaded partially with the help of ListPaging plugin. When i change the view and return back to same list, only last items is loaded. I can load the next pages however i can not load the previous ones.

As a result of this, i send the data starting from 0 and finishing in last index from the server. But in this situation, scroll position is lost and it automatically scrolls to top after refresh.

How can i maintain the scroll position or is there a way to load previous records like the ListPaging plugin does for next pages?

Thanks in advance.

Upvotes: 2

Views: 3381

Answers (1)

Ram G Athreya
Ram G Athreya

Reputation: 4952

i think the problem you are facing is this

list-scrollToTopOnRefresh

This is set to true at default set it to false and try again... Hope it helps

Upvotes: 1

Related Questions