PDA

View Full Version : [CLOSED] Change "loading" message during store load



feanor91
Aug 27, 2013, 1:50 PM
Hello

I have to localize an application in several languages, so I want to translate the "Loading" message when store loads.

I thin they will some message property somewhere in store but found nothing, I try with a <loader...> tag in parent window, but it is not linked to store, so Is ther a way to achive that?

Daniil
Aug 27, 2013, 2:14 PM
Hi @feanor91,

Please use:

<ext:GridPanel runat="server">
<View>
<ext:GridView runat="server" LoadingText="My LoadingText.." />
</View>
</ext:GridPanel>
http://docs.sencha.com/extjs/4.2.1/#!/api/Ext.view.AbstractView-cfg-loadingText

It should be also localized automatically if set up a ResourceManager's Locale.

feanor91
Aug 28, 2013, 7:38 AM
Works perfectly, I will never thougths to search in gridview...