Archive for March, 2009
Tuesday, March 17th, 2009
You know, I'm not very big fan of factory functions, nevertheless, I'm aware of the fact that they may be necessary in some situations. Here is the file pattern that works (briefly tested).
Keep each factory function in a separate file name of which should be Namespace.Factory.functionName.js
// vim: ts=4:sw=4:nu:fdc=4:nospell
/*global Ext, MyNamespace ...
Posted in File Patters, Know-how | 2 Comments »
Saturday, March 14th, 2009
Important
If you have not already done so, study Writing a Big Application in Ext (Part 1) and Writing a Big Application in Ext (Part 2)before you read this article. It would be very hard, if not impossible, to understand concepts explained here before you fully understand the first and second ...
Posted in Know-how | 12 Comments »
Friday, March 13th, 2009
This example shows how to easily add tabs to a TabPanel without any layout issues of the newly added tab.
http://examples.extjs.eu
Enjoy!
Posted in Examples | 2 Comments »
Wednesday, March 4th, 2009
Suppose we want to remove all children of the node node:
while(node.firstChild) {
node.removeChild(node.firstChild);
}
That's all there is to it
Posted in Know-how | 9 Comments »