title: Initialize with a parameter
body: <p>Here is my code, I want to know how put my for-loop limit (IE 8) has a parameter in my constructor, so I could build this view with a specific number of line? And then, how to initialize such view ?</p>
  
  <p>Thank you!</p>
  
  <pre><code>Ext.define('Prototype.view.FoodPanel', {
  extend: 'Ext.Panel',
  alias: 'widget.foodpanel',
  
  config: {
      height: 455,
      id: 'FoodPanel',
      layout: {
          type: 'vbox'
      },
      scrollable: 'vertical',
      items: [
          {
              xtype: 'panel',
              height: 47,
              id: 'rowTitle',
              layout: {
                  type: 'hbox'
              },
              items: [
                  {
                      xtype: 'textfield',
                      id: 'column_title_source',
                      width: 100,
                      label: 'Source',
                      labelWidth: '100%',
                      readOnly: false
                  },
                  {
                      xtype: 'textfield',
                      id: 'column_title_user',
                      width: 100,
                      label: 'User',
                      labelWidth: '100%',
                      readOnly: true
                  },
                  {
                      xtype: 'textfield',
                      id: 'column_title_object',
                      width: 160,
                      label: 'Object',
                      labelWidth: '100%',
                      readOnly: true
                  },
                  {
                      xtype: 'textfield',
                      disabled: false,
                      id: 'column_title_factor',
                      width: 100,
                      label: 'Factor',
                      labelWidth: '100%',
                      readOnly: true
                  }
              ]
          }
      ]
  },
  
  initialize: function() {
      this.callParent();
      var rows=[];
      for(var i=0; i&lt;8;i++)
      {
          var row = Ext.create(Prototype.view.RowModel);
          if(i===4)
          {
              row.getComponent('mybutton').hide();
          }
          console.log(row.down('#rowLabel')._label);
          rows.push(row);
      }
      this.add(rows);
  }
  
  });
  </code></pre>