static/ext/src/ux/TreePicker.js
function(record) {
        var me = this;
        me.setValue(record.getId());
        me.picker.hide();
        me.inputEl.focus();
        me.fireEvent('select', me, record)

    }
function(record) {
        var me = this;
        me.setValue(record.getId());
        me.picker.hide();
        me.inputEl.focus();
        me.fireEvent('select', me, record)

    }
Changes the selection to a given record and closes the picker
@private
@param {Ext.data.Model} record