View Full Version : Animation on dynamic List
drinkJava
26 Sep 2010, 7:55 PM
Hi,
I have a dynamic List which is manipulated by setting different JsonStores and loading them.
Is it possible to set an animation when the list is loaded with a new data?
Thank you in advance!
evant
26 Sep 2010, 7:58 PM
What do you mean by "set an animation"? What are you trying to do?
drinkJava
26 Sep 2010, 8:11 PM
Thanks for a quick reply!
Sorry, I'm not posting the code here 'coz it's pretty bulky
What I meant was setting an animation effect when the same List is updated with the new data.
Let's say I already have a List loaded with the data.
Then, I want to update it with a different store's data:
myList.setStore(myNewStore);
myNewStore.load({ params: { param1: value1});
The data is perfectly updated and displayed however you can see a slight 'blink' of the old data which gets simply replaced by the new. I'm wondering if it's possible to have a 'slide' effect for this case.
Stoot98
27 Sep 2010, 6:39 AM
I don't think you can animate in a set of records to the List. You could reduce the flicker by loading the new store and only setting it in the list after its loaded.
Powered by vBulletin® Version 4.1.5 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.