title: ExtJs Grid How to set selection
body: <p>I have this sample code <a href="http://jsfiddle.net/Xpe9V/414/" rel="nofollow">http://jsfiddle.net/Xpe9V/414/</a> </p>
  
  <pre><code>Ext.require([
      'Ext.data.*',
      'Ext.grid.*'
  ]);
  
  function getRandomDate() {
      var from = new Date(1900, 0, 1).getTime();
      var to = new Date().getTime();
      return new Date(from + Math.random() * (to - from));
  }
  
  function createFakeData(count) {
          var firstNames   = ['Ed', 'Tommy', 'Aaron', 'Abe'];
          var lastNames    = ['Spencer', 'Maintz', 'Conran', 'Elias'];
  
          var data = [];
          for (var i = 0; i &lt; count ; i++) {
              var dob = getRandomDate();           
              var firstNameId = Math.floor(Math.random() * firstNames.length);
              var lastNameId  = Math.floor(Math.random() * lastNames.length);
              var name        = Ext.String.format("{0} {1}", firstNames[firstNameId], lastNames[lastNameId]);
  
              data.push([name, dob]);
          }
          return data;
      }
  
  Ext.onReady(function(){
      Ext.define('Person',{
          extend: 'Ext.data.Model',
          fields: [
              'Name', 'dob'
          ]
      });
  
      // create the Data Store
      var store = Ext.create('Ext.data.Store', {
          model: 'Person',
          autoLoad: true,
          proxy: {
              type: 'memory',
                  data: createFakeData(10),
                  reader: {
                      type: 'array'
                  }
          }
      });
  
      // create the grid
      var x = Ext.create('Ext.grid.Panel', {
          store: store,
          columns: [
              {text: "Name", width:120, dataIndex: 'Name'},
              {text: "dob", width: 380, dataIndex: 'dob'}
          ],
          renderTo:'example-grid',
          width: 500,
          height: 280
      });
  
      x.getSelectionModel().select(4);
  
  });
  </code></pre>
  
  <p>On line 61 I want to make a selection in my grid, but it does not seems to have any effect. Can anyone tell me why?</p>