title: Ext.Js 4 numberfield default value
body: <p>The problem is: <strong>How can I set a default value of a <em>xtype:'numberfield'</em> ?</strong> 
  I found out at the documentation of Ext.Js 4 that you should set the <strong>value</strong> field.</p>
  
  <p><a href="http://docs.sencha.com/ext-js/4-0/#!/api/Ext.form.field.Number" rel="nofollow">http://docs.sencha.com/ext-js/4-0/#!/api/Ext.form.field.Number</a></p>
  
  <p><em><strong>value : Object.</em></strong></p>
  
  <p><strong>A value to initialize this field with.</strong></p>
  
  <p>The only problem is, when I define the <strong>value:23</strong> for example, nothing happens.
  Maybe I am doing something on the code that is overriding its behaviour. The code you can find bellow:</p>
  
  <pre><code>/// &lt;reference path="ext-4.0/ext-all.js" /&gt;
  Ext.define('IssueInventoryPartGrid.view.inventorypart.Issue', {
      extend: 'Ext.grid.Panel'
      , alias: 'widget.issueinventorypartlist'
      , store: 'IssueInventoryParts'
      , title: 'Issue Inventory Part'
      , selModel: 'cellmodel'
      , plugins: [
          Ext.create('Ext.grid.plugin.CellEditing', {
              clicksToEdit: 1
          })
      ]
      , width: 523
      , height: 600
      , loadMask: true
  
      , initComponent: function () {
          this.columns = [
              {
                  header: 'Id'
                  , dataIndex: 'Id'
                  , hideable: false
                  , hidden: true
                  , flex: 1
              }
              , {
                  header: 'Quantity to Issue'
                  , dataIndex: 'QtyToIssue'
                  , hideable: false
                  , flex: 1
                  , editor:
                  {
                      xtype: 'numberfield'
                      , hideTrigger: true
                      , value: 99
                      , minValue: 0
                      , disabled: false
                      , allowBlank: true
                      , decimalPrecision: 4
  
                  }
              }
              , {
                  header: 'Available'
                  , dataIndex: 'AvailableQty'
                  , flex: 1
              }
              , {
                  header: 'Batch Number'
                  , dataIndex: 'BatchNumber'
                  , flex: 1
              }
              , {
                  header: 'Stock Address'
                  , dataIndex: 'StockAddressName'
                  , flex: 1
              }
              , {
                  header: 'Quantity On Hand'
                  , dataIndex: 'QtyOnHand'
                  , flex: 1
              }
              , {
                  header: 'Reserved Quantity'
                  , dataIndex: 'ReservedQty'
                  , flex: 1
              }
              , {
                  header: 'Total Cost'
                  , dataIndex: 'TotalCost'
                  , flex: 1
              }
              , {
                  header: 'Date Received'
                  , dataIndex: 'DateReceived'
                  , flex: 1
                  , renderer: Ext.util.Format.dateRenderer('d/m/Y')
              }
          ];
  
          this.callParent(arguments);
      }
  });
  </code></pre>
  
  <p>best regards,</p>
  
  <p>Tito Morais</p>