PDA

View Full Version : [CLOSED] How to use Succes property on a store load



feanor91
Jun 18, 2012, 12:51 PM
All is in the question.

in the begining of the load, I want to show a mask, I will load 4 stores, count in a success function and when I reach 4, I will remove the mask.

How to achive that. Is SuccessProperty a js function name?

Edit :

Found : listener on load...It was easy.

Daniil
Jun 18, 2012, 1:28 PM
Hi,

SuccessProperty
http://docs.sencha.com/ext-js/4-1/#!/api/Ext.data.reader.Reader-cfg-successProperty

It's a rare case, when you should deal with that property, rather never.

Yes, for your scenario, you should listen the Stores Load event.