tags:

views:

150

answers:

3
A: 

That's because it loads asynchronously.

¿and how could i make to do that? ¿what's ur suggest?
christian130
A: 

If you (re)load a data store, the call is asynchronous, so any action that relies on the updated data must be done within a callback. You can handle the store's load event to do that. See my answer here for an example.

bmoeskau
A: 

[SOLVED] THANKS U ALL for say i figure it out after four hours or more the way i did is seemed to bmoeskau but i did read the post of bmoeskau after i've got with the solution thanks u to all

store.load({params:{anio:varanio},callback:function(){// here comes the loop or another instruction }}) this is a nice forum chat

christian130