Small collection of Code Snippets that might help you get into ExtJS. Best Practices Included:
1. Use customized / pre-configured components by extending existing components.
2. Do no extend a non-Ext.Component class. If an Ext class does not inherit from Ext.Component, the initComponent is never called, so the code you have written there is never executed.
3. Remember to call the parent method, unless you know exactly what you are doing: YourExtension.superclass.afterLayout.apply(this, arguments)
4. Define your own components
Your new post is loading...