static/ext/src/panel/Header.js
function(title) {
        var me = this,
            titleCmp = me.titleCmp;

        me.title = title;
        if (titleCmp.rendered) {
            titleCmp.textEl.update(me.title || '&#160;');
            titleCmp.updateLayout();
        } else {
            me.titleCmp.on({
                render: function() {
                    me.setTitle(title);
                },
                single: true
            });
        }
    }
function(title) {
        var me = this,
            titleCmp = me.titleCmp;

        me.title = title;
        if (titleCmp.rendered) {
            titleCmp.textEl.update(me.title || '&#160;');
            titleCmp.updateLayout();
        } else {
            me.titleCmp.on({
                render: function() {
                    me.setTitle(title);
                },
                single: true
            });
        }
    }
function ( title ) { var me = this , titleCmp = me . titleCmp ; me . title = title ; if ( titleCmp . rendered ) { titleCmp . textEl . update ( me . title || '&#160;' ) ; titleCmp . updateLayout ( ) ; } else { me . titleCmp . on ( { render : function ( ) { me . setTitle ( title ) ; } , single : true } ) ; } }
Sets the title of the header.
@param {String} title The title to be set
Sets the title of the header .