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: Yozshusar Zukora
Country: Saint Lucia
Language: English (Spanish)
Genre: Politics
Published (Last): 6 March 2007
Pages: 381
PDF File Size: 14.9 Mb
ePub File Size: 2.34 Mb
ISBN: 885-9-74830-636-7
Downloads: 84542
Price: Free* [*Free Regsitration Required]
Uploader: Dazuru

Email Required, but never shown. Email required Address never made public. Stay Connected Ajtoload our mailing list Subscribe. Discussion Sencha Touch 1. Services Professional Services Partners Training.

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. But one can easily create an override for Ext.

Bugs Ext JS 2. Fill in your details below or click an icon to log in: You can add render handler to view which will call store load method and disable autoLoad. Sign up using Email and Password. One could argue that loaded should be a built-in feature.

Including this autolosd there have been… exactly… one… thousand… five hundred and two. Thanks for the report, I’ve added this to our bug tracking system.


ExtJS: note on using autoLoad

It puts all code into the controller as suggested by pcguru and uses the render event to shorten the code as suggested by Lolo. Found the same bug in ExtJS 6. Thread Tools Show Printable Version. It could be useful also a cross-link between the two bug reports! Stack Sutoload works best with JavaScript enabled. I have a grid linked to a store with autoLoad: After some investigation, I found that there is a config option in Panel, preventBodyReset.

App Contest Sencha Touch 1. I would let the view’s autoloda handle the store load. The problem is that the store gets loaded on application launch, even if the view is created only later when accessed through a menu. I have referenced the store in Application. After a bit of debugging I found that Ext. Page 1 of 2 1 2 Last Jump to page: There is no reason to use a controller if you have code that should be the responsibility of the controller in the views.

So it seems a different bug than this: 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. Sign up using Facebook.


Sencha ExtJS Grid with autoLoad Store never loads data |

Enter your email address to subscribe to this blog and receive notifications of new posts by email. I’ll try to get it shorter.

Examples and Showcases Sencha Touch 2. All times are GMT You’re right that the code should go into the controller and should not reload the store. Bugs Sencha Touch 2. Here is all the relevant code for reference: ExtJSjavascriptProgramming. You are commenting using your WordPress.

Leave a Reply Cancel reply Enter your comment here Start by disabling autoload on the store. I did have the issue on 6. We encourage you to continue the discussion and to auttoload an acceptable workaround while we work on a permanent fix. Notify me of new comments via email. By continuing to use this website, you agree to their use. Create a JsonStore with “autoLoad: Quick Navigation Ext 6: Store ectjs so you don’t have to repeat this for every store – if you do, you can remove the loaded part from this controller.