Archive for March, 2009

Factory Function File Pattern

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 ...

Writing a Big Application in Ext (Part 3)

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 ...

New Example – How To Dynamically Add Tabs To TabPanel

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!

How to remove all children of a tree node

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