title: How to load Ext.grid.GridPanel from Ext.data.Store(with use of parameter)?
body: <p>I am using following code to get value from php file:</p>
  
  <pre><code>var genres1 = new Ext.data.Store({
              reader: new Ext.data.JsonReader({
                  fields: ['pincode'],
                  root: 'rows'
              }),
              baseParams: {
          param1: startptx1,
          param2: startpty1,
              param3: endptx1,
              param4: endpty1
              },
              proxy: new Ext.data.HttpProxy({
                  url: 'pointalong.php',
                  method: 'GET'
              }),
              autoLoad: true
          });
  </code></pre>
  
  <p>Now i want to display this in table so i am using following code:</p>
  
  <pre><code>var grid = new Ext.grid.GridPanel({
              renderTo: 'td_info',
              frame: true,
              title: 'Direction From Start To End',
              height: 435,
              width: 300,
              store: genres1,
              colModel: new Ext.grid.ColumnModel({
                  defaultSortable: false,
                  columns: [
                      {header: "PinCode", dataIndex: 'pincode'},
                      //{header: "Place", dataIndex: 'place_name'}
                                          ]
              })
          });
  </code></pre>
  
  <p>But data is fetch using Ext.data.Store but not loaded in Ext.grid.GridPanel(this is created). I have put Ext.data.Store and Ext.grid.GridPanel in function that is loaded on click of button.</p>