title: How to display Extjs.Ajax response in Grid
body: <p>I have posted the form data using Ext.Ajax.request and I get the JSON in response. Now I want to display this JSON in grid. How can I do this? Please help me out in this.</p>
  
  <p>Following is my code:</p>
  
  <pre><code>    var simple = new Ext.FormPanel({
            labelWidth:  85,
            frame:true,
            title: 'Test on Demand',
            bodyStyle:'padding:10px 10px;',
            width: 280,
            defaults: {width: 250},
            defaultType: 'textfield',
            items: [ combo, myText],
  
            buttons: [{
                  text: 'Start',
                  handler: function() { 
                      var rtu_id = combo.getValue();
                      var testplanid = myText.getValue();
  
                      Ext.Ajax.request({
                          url : 'http://localhost/rtu_ems_extjs/lib/action',
                          method: 'POST',
                          headers: { 'Content-Type': 'application/json'},                     params : { "action" : "rtu_request" },
                          jsonData: {
                              "rtu_id" : rtu_id,
                              "testplanid" : testplanid
                          },
                          success: function (response) {
                             var jsonResp = Ext.decode(response.responseText);
                             Ext.Msg.alert("Info",jsonResp.Type);
                          },
                          failure: function (response) {
                             var jsonResp = Ext.decode(response.responseText);
                             Ext.Msg.alert("Error",jsonResp.error);
                          }
                    });
                  }
              }, {
                  text: 'Reset',
                  handler: function() {
                      simple.getForm().reset();
                  }
              }]
  });
  
  simple.render(document.body);
  </code></pre>
  
  <p>I want to display 'jsonResp' in grid.</p>