title: How to select a combobox value in ExtJs?
body: <p>I am trying to simply select an item in the dropdown list after it has been loaded into a store.  This does not work:</p>
  
  <pre><code>Ext.getCmp('ddlModel').setValue(aircraftStore.getAt(0).data.ModelTypeCode);
  </code></pre>
  
  <p>This throws an exception:</p>
  
  <pre><code>Ext.getCmp('ddlModel').selectByValue(aircraftStore.getAt(0).data.ModelTypeCode);
  </code></pre>
  
  <p>Here is the exception:
  'this.view' is null or not an object</p>
  
  <p>Anyone know how to do this in ExtJs?</p>