Answered: Reverse list (newest item on bottom aso)
Answered: Reverse list (newest item on bottom aso)
Hey people!
I am about to develop a messaging app with Sencha Touch. Therefore, I've got a list of messages with a store and I want the newest message to be displayed at the bottom of the list.
I've tryed the following thing:
1. Reverse order of the list by sorting the store in the opposite direction (simple).
2. Scroll to bottom by using the method getScrollable().getScroller().scrollToEnd();
After opening the list, this works fine: korrekt.png
But after I scrolled for one sec, the items are docked to the top - not to the bottom: wrong.png