title: In extjs,How to insert textfields value into grid on button click
body: <p>I am implementing project in extjs. i have Option form with its two field as Question and Option. My view code is-</p>
  
  <pre><code>Ext.create('Ext.form.Panel', {
      title: 'Question-option',
      width: 300,
      bodyPadding: 10,
      renderTo: Ext.getBody(),        
      items: [{
          xtype: 'textfield',
          name: 'Question',
          fieldLabel: 'Question',
          allowBlank: false  // requires a non-empty value
      }, {
          xtype: 'textfield',
          name: 'Option',
          fieldLabel: 'Option',
         allowBlank: false  
      },
      {xtype: 'button', text: 'Ok'}, 
      {xtype: 'button', text: 'Cancel'}
   ]
  });
  </code></pre>
  
  <p>Now on add buttonclick, i want to display these inserted field values in gridview. and also want to make option field as blank in order to insert multiple options. and need to display all these inserted options in gridview. So please can you suggest how can i do this. I am very new to extjs,please help me.</p>