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):||17 June 2013|
|PDF File Size:||16.65 Mb|
|ePub File Size:||4.38 Mb|
|Price:||Free* [*Free Regsitration Required]|
Store – autooload you don’t have to repeat this for every store – if you do, you can remove the loaded part from this controller. It puts all code into the controller as suggested by pcguru and uses the render event to shorten the code as suggested by Lolo.
Sign up using Email and Password.
So it seems a different bug than this: User Extensions and Plugins Ext. To find out more, including how to control cookies, see here: Discussion Sencha Touch 2.
[ExtJs] Need help with autoload config parameter for panel | MODX Community Forums
There is no reason to use a controller if you have code that should be the responsibility of the controller in the views. Now it’s no more shorter than yours: The Store IS auto-loaded. I would let the view’s controller handle the store load.
Thanks, this is the perfect solution. However, the rendering inside the component is different to a browser displaying the html document.
Bugs Sencha Architect 3. I don’t know how to achieve that the store is loaded only when needed by the view. User Extensions and Plugins 1. Email Required, but never shown.
Extjs autoLoad loading
I think it would be better to open a new thread for the specific issue of 6. This solution also reloads the store on every render of the view – likely unnecessary? By continuing to use this website, you agree to their use.
ExtJS: note on using autoLoad
Part of my web application auotload to construct a html document with embedded graph images. Examples and Showcases Sencha Touch 1. Post as a guest Name.
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.