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: Dazahn Taramar
Country: Madagascar
Language: English (Spanish)
Genre: Life
Published (Last): 1 June 2012
Pages: 455
PDF File Size: 12.95 Mb
ePub File Size: 15.59 Mb
ISBN: 207-5-40098-512-6
Downloads: 1367
Price: Free* [*Free Regsitration Required]
Uploader: Dousida

However, the rendering inside the component is different to a browser displaying the html document. It is very similar to this other bug: Bugs Sencha Touch 1. Now it’s no more shorter than yours: Fill in your details below or click an icon to log in: But longer code is better if it works correctly and is more reusable and efficient, and especially if it’s easier to read and understand than shorter code, imo.

I don’t know how to achieve that the store is loaded only when needed by the view. Sign up using Facebook. By clicking “Post Your Answer”, you acknowledge that you have read our updated terms of serviceprivacy policy and cookie policyand that your continued use of the website is subject to these policies.

ExtJS: note on using autoLoad

There is no reason to use a controller if you have code that should be the responsibility of the controller in the autoloav. User Extensions and Plugins 1. It could be useful also a cross-link between the two bug reports! So it seems a different bug than this: After some investigation, I found that there is a config option in Panel, preventBodyReset. Enter your email address to subscribe to this blog and receive notifications of new posts by email.


Thanks for the report, I’ve added this to our bug tracking system. Notify me of new comments via email. Here is what the problem looks like inside the panel: Sign up using Email and Password. The problem is that the store gets extks on application launch, even if the view is created only later when accessed through a menu. Quick Autoloav Ext 6: Part of my web application is to construct a html document with embedded graph images.

Examples and Showcases Sencha Touch 1.

This is a problem in 6. I think it would be better to open a new thread for the specific issue of 6.

ExtJS Not Using autoLoad Best Practice

Start by disabling autoload on autollad store. User Extensions and Plugins Ext. To find out more, including how to control cookies, see here: Bugs Sencha Architect 3. About Did you know you can write your own about section just like this one? Create a JsonStore with “autoLoad: But one can easily create an override for Ext.

[OPEN] Store autoLoad=false is ignored if remoteFilter is true and there are filters in Grid

In the meanwhile I found a possible workaround: User Extensions and Plugins Sencha Touch 1. After doing som more testing I find that my particular issue on on my current app is working with 6.

You’re right that the code should go into the controller and should not reload the store. Extje 1 of 2 1 2 Last Jump to page: Store – so you don’t have to repeat this for every store – if you do, you can remove the loaded part from this controller. Including this bug… there have been… exactly… one… thousand… five hundred and two. Post Your Answer Discard By clicking “Post Your Answer”, you acknowledge that you have read our updated terms of serviceprivacy policy and cookie policyand that your continued use of the website is subject to these policies.


You are commenting using your WordPress.

You found a bug! Now move it into the “Footer Left” sidebar. Results 1 to 10 of We encourage you to continue the discussion and to find an acceptable workaround autoloda we work on a permanent fix.

auttoload The time now is 2: This is my final controller code: Thanks, this is the perfect solution. This solution also reloads the store on every render of the view – likely unnecessary?

So that means there is no way to know if the store is already loaded unless one stores this in a variable on store load? By using our site, you acknowledge that you have read and understand our Extjss PolicyPrivacy Policyautload our Terms of Service. I’ll try to get it shorter. Found the same bug in ExtJS 6. It puts all code into the controller as suggested by pcguru and uses the render event to shorten the code as suggested by Lolo.

Leave a Reply Cancel reply Enter your comment here