Extjs

Articles

  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

Ext.DataView
Performance
Coding style
Page Analyzer

AJAX
Check boxes
Classes
Combo box
Component
Defer
Detecting and disabling copy and paste
Element
Event Handling
Extending
Form
Grid and Editor Grid
Handy utility functions
MessageBox
Namespace
Query
Store
Tab Panel
Tooltip
Viewport
Window
XTemplate

Getting Started

How to execute some code when the DOM is ready?

Ext.onReady(function() {
});

How can we determine the object type?

Ext.type(myObject); //Determine object type: array, object, number
Ext.isArray(myObject);
Ext.isNumber(myObject);
Ext.isString(myObject);
x.getXType();
x.isXType('textfield');

How to determine the version of ExtJS that is being used?

Ext.getVersion('core');
Ext.getVersion().version;
Ext.getVersion('extjs');

srm/webapp/javascript/revised/EventFunctions.js (ComboBox, event)
http://www.stefanolocati.it/blog/?p=335

Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License