ExtJS: January 2012 Archives

Add "setLabel" to ExtJS 4 fields...

| | Comments (0)

A trivial override:

Ext.form.field.Base.override({
    setLabel: function (text) {
        if (this.rendered) {
            Ext.get(this.labelEl.id).update(text);
        }
        this.fieldLabel = text;
    }
});

About this Archive

This page is a archive of entries in the ExtJS category from January 2012.

ExtJS: September 2011 is the previous archive.

Find recent content on the main index or look in the archives to find all content.

Pages

Powered by Movable Type 4.34-en