title: In extjs How to bind store data to grid
body: <p>i am working in extjs. i am creating view which is displaying grid.i have created view as-</p>
  
  <pre><code>Ext.define('Balaee.view.qb.qbqns.allQuestionPapers' ,
          {
      extend: 'Ext.grid.Panel',
      alias: 'widget.paperlist',
      id:'paperId',
      store:'QbqnsStore',
      border:false,
      height:300,
      width:450,
      columns: [
                {
                    text: 'date',
                    width: 150,
                    dataIndex: 'creationTime'
                },
                {
                    text: 'QuestionpaperNo',
                    width: 150,
                    dataIndex: 'questionPaperNo',
                },
                {
                    text: 'Marks',
                    width:150,
                    dataIndex: 'obtainMarks'
                }
                ]
          });
  </code></pre>
  
  <p>This view i am calling on getAllPapers button click. So i have written code as-</p>
  
  <pre><code>getAllPapers:function()
      {   
          var getPaperStore=Ext.create('Balaee.store.qb.QbqnsStore');
          proxy=reviewQuestionStore.getProxy();
          Ext.apply(proxy.api,{
              read:'index.php/QuestionBank/qbpaper/getUserAllQuestionPaper',
          });
  
          var temp2=Ext.getCmp('QbqnsResultmainId');
          temp2.removeAll();
          var papers=Ext.create('Balaee.view.qb.qbqns.allQuestionPapers');
          temp2.add(papers);
  
      }
  </code></pre>
  
  <p>In above function i am calling required URl to get json as-</p>
  
  <pre><code>{" Papers ":[{"questionPaperId":"29","questionPaperNo":"11","userId":"106","allocatedTime":null,"completedTime":"0000-00-00 00:00:00","createDate":"0000-00-00 00:00:00","obtainMarks":null},{"questionPaperId":"30","questionPaperNo":"11","userId":"106","allocatedTime":null,"completedTime":"0000-00-00 00:00:00","createDate":"0000-00-00 00:00:00","obtainMarks":null},{"questionPaperId":"31","questionPaperNo":"11","userId":"106","allocatedTime":null,"completedTime":"0000-00-00 00:00:00","createDate":"0000-00-00 00:00:00","obtainMarks":null}] }
  </code></pre>
  
  <p>So now store is having this above json data and i want to provide it in grid on view. But grid is not displaying any data. So how to bind store data to grid? what changes i need to make?</p>