code: function(record) {
          var me = this;
          me.setValue(record.getId());
          me.picker.hide();
          me.inputEl.focus();
          me.fireEvent('select', me, record)
  
      }
docs: Changes the selection to a given record and closes the picker
  @private
  @param {Ext.data.Model} record