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.
|Published (Last):||16 January 2014|
|PDF File Size:||20.64 Mb|
|ePub File Size:||5.74 Mb|
|Price:||Free* [*Free Regsitration Required]|
Sign up using Facebook. This is a problem in 6. Store – so you don’t have to repeat this for every store – if you do, you can remove the loaded part from this controller.
If I set autoLoad: Did you know you can write your own about section just like this one? Thanks for the report, I’ve added this to our bug tracking system. The view is instantiated in the controller: Email Required, but never shown. All times are GMT Bugs Sencha Touch 2. I would let the view’s controller handle autolpad store load. User Extensions and Plugins 1. I know this is pretty basic, but I’m stuck so far.
Enter your email address to subscribe to this blog and receive notifications of new posts by email.
User Extensions and Plugins Ext. Bugs Sencha Architect 3. It puts all code into the controller as suggested by pcguru and uses the render event to shorten the code as suggested by Lolo.
After some investigation, I found that there is a config option in Panel, preventBodyReset. Sign up or log in Sign up using Google. We encourage you to continue the discussion and to find an acceptable workaround while we work on a permanent fix. Sign up using Email and Password.
I have referenced the store in Application.
Start by disabling autoload on the store. So it seems a different bug than this: The Store IS auto-loaded.
ExtJS Not Using autoLoad Best Practice –
Fill in your details below or click an icon to log in: App Contest Sencha Touch 1. Notify me of new comments via email. You are commenting using your Twitter account.
ExtJS: note on using autoLoad | Joe Kuan Defunct Code
Your code is somehow lenghty. It is very similar to this other bug: Post as a guest Name. Here is what the problem looks like inside the panel: Examples and Showcases Sencha Touch 1. Page 1 of 2 1 2 Last Jump to page: Bugs Sencha Architect 2. In the meanwhile I found a possible workaround: You are commenting using your WordPress.
Extjs autoLoad loading
By continuing to use this website, you agree to their use. There is no reason to use a controller if you have code that should be the responsibility of the controller in the augoload. You can add render handler to view which will call store load method and disable autoLoad. So that means there is eextjs way to know if the store is already loaded unless one stores this in a autolload on store load?
However, the rendering inside the component is different to a browser displaying the html document.
I don’t know how to achieve that the store is loaded only when needed by the view. But one can easily create an override for Ext.