title: Why does ExtJS 3's Ext.Loader appear to be missing parts and not displaying a grid?
body: <p>I have an ExtJS 3 datagrid with several added functions that is not displaying. The JavaScript console leads me to believe that Ext is missing parts.</p>
  
  <p>I import, with apparent success:</p>
  
  <pre><code>  &lt;script type="text/javascript"
      src="/extjs3/adapter/ext/ext-base-debug.js"&gt; 
    &lt;/script&gt; 
    &lt;script type="text/javascript"
      src="/extjs3/ext-all-debug.js"&gt;&lt;/script&gt;
  </code></pre>
  
  <p>I have, in my script:</p>
  
  <pre><code>    &lt;script type="text/javascript"&gt; 
          Ext.Loader.setConfig({
            enabled: true
            });
          Ext.Loader.setPath('Ext.ux', '../ux');
          Ext.require(['Ext.selection.cellModel',
            'Ext.grid.*',
            'Ext.data.*',
            'Ext.util.*',
            'Ext.state.*',
            'Ext.form.*',
            'Ext.ux.CheckColumn'
            ]);
  </code></pre>
  
  <p>Chrome is displaying an error:</p>
  
  <p><strong>Uncaught TypeError: Object # has no method 'setConfig'</strong></p>
  
  <p>The line number belongs to the setConfig above. If I comment out the setConfig() call, I get the same basic error for setPath(), the require() method is complained about.</p>
  
  <p>Is there something else I need to be importing? I checked that the resources were at the expected paths, and it looks like they are being served up and received properly.</p>
  
  <p>I'd like to know what needs to be done to address this error.</p>
  
  <p>Thank you,</p>
  
  <p><strong>--EDIT--</strong></p>
  
  <p>I now have:</p>
  
  <pre><code>    &lt;script type="text/javascript"&gt; 
          /*
          Ext.Loader.setConfig({
            enabled: true
            });
          Ext.Loader.setPath('Ext.ux', '../ux');
          */
          Ext.Loader.load(['Ext.selection.cellModel',
            'Ext.grid.*',
            'Ext.data.*',
            'Ext.util.*',
            'Ext.state.*',
            'Ext.form.*',
            'Ext.ux.CheckColumn'
            ]);
  </code></pre>
  
  <p>I'm getting error messages on the JavaScript console saying that it tried to load (404) Ext.grid.* etc. from the same directory.</p>
  
  <p>How do I specify the right path(s) for it to search in?</p>