Title
Date
Author
Comments
May 26th, 2010
radu

I like ExtJs and the way it is so modular. This time I needed to have something very easy, which is not implemented by default in Ext, so I rolled my own. I needed windows to fire ‘tofront’ and ‘toback’ events. In an app I am working on, the user can have quite many windows [...]

April 1st, 2010
radu

Recently I needed a text field in ExtJS that doesn’t allow user input to start with space. So I thought it would be useful for others as well. I chose to override the original Ext.form.TextField and make all the textfields in the application have this behaviour.
Here is the code for this:

(function(){
//put [...]

February 24th, 2010
radu

You should make use of the scope config option in components
.

in Ajax calls
var MyPanel = Ext.extend(Ext.Panel, {
doSave: function(){
Ext.Ajax.request({
url: ‘your_url’,
params: ….
success: function(response){
response = Ext.decode(response.responseText);
this.onSuccess(response)
},
scope: this //the scope in which the success callback [...]

February 18th, 2010
radu

Tips on JavaScript and ExtJS: using the ExtJS ref config option on panels and other components.

February 8th, 2010
radu

A quick intro to the live event in ExtJS, using delegates. It is similar to the jQuery live event, but much more powerful. This article provides a quick and useful insight into it.

January 23rd, 2010
radu

This article explains how you can achieve powerful object oriented JavaScript with the help of ExtJS Core library. Good points on inheritance, overriding, flexibility, possible pitfalls that come with this approach. A good way to start building one page JavaScript web applications.