Lesson learned yesterday: Never use Sencha ExtJS autoLoad, especially when working with a Grid panel. I ran into a problem where my grids. Once the document is created, a Panel component uses autoLoad property It stops the ExtJS CSS styles applying to the loaded html content. Hi, Like in title I’ve situation that cause autoload of gridpanel store event when I’ll ad property of store to true. Is there maybe any.

Author: Brazil JoJozshura
Country: Benin
Language: English (Spanish)
Genre: Travel
Published (Last): 11 August 2016
Pages: 76
PDF File Size: 16.57 Mb
ePub File Size: 7.81 Mb
ISBN: 969-1-27221-706-4
Downloads: 82576
Price: Free* [*Free Regsitration Required]
Uploader: Niramar

It puts all code into the controller as suggested by pcguru and uses the render event to shorten the code as suggested by Lolo.

I know this is pretty basic, but I’m stuck so far. Discussion Sencha Touch 2. One could argue that loaded should be a built-in feature. Post as a guest Name. Page 1 of 2 1 2 Last Jump to page: Extus using our site, you acknowledge that you have read and understand our Cookie PolicyPrivacy Policyand our Terms of Service.


By continuing to use this website, you agree to their use.

ExtJS Not Using autoLoad Best Practice –

You can add render handler to view which will call store load method and disable autoLoad. In the meanwhile I found a possible workaround: Here is what the problem looks like inside the panel: Bugs Sencha Touch 1.

I have a grid linked to a store with autoLoad: Thanks, this is the perfect solution. Start by disabling autoload on the store. The Store IS auto-loaded.

Bugs Sencha Touch 2. Here is all the relevant code for reference: Thread Tools Show Printable Version. Now move it into the “Footer Left” sidebar. Discussion Sencha Touch 1.

Sencha ExtJS Grid with autoLoad Store never loads data |

The view is instantiated in the controller: You found a bug! App Contest Sencha Touch 1. Quick Navigation Ext 6: This solution also reloads the store on every render of the view – likely unnecessary? It is very similar to this other bug: User Extensions and Plugins 1.


Store – so you don’t have to repeat this for every store – if you do, you can remove the loaded part from this controller.

Extjs autoLoad loading

Create a JsonStore with “autoLoad: About Did you know you can write your own about section just like this one? You are commenting using your WordPress. Bugs Ext JS 2.

Services Professional Services Partners Training. You are commenting using your Twitter account.

ExtJS: note on using autoLoad

But one can easily create an override for Ext. You are commenting using your Facebook account.

Sign up or log in Sign up using Exts. The problem is that the store gets loaded on application launch, even if the view is created only later when accessed through a menu. After a bit of debugging I found that Ext.