title: How to use same store with different URL's in extjs
body: <p>i am working in extjs. i have store as-</p>
  
  <pre><code> Ext.define('Balaee.store.qb.QbqnsStore',{
              extend: 'Ext.data.Store',
              model: 'Balaee.model.qb.QbqnsModel',
              autoLoad: true,
  
              proxy:
              {
                  type:'ajax',
                  api:
                  {
          read:index.php/QuestionBank/qbpaper/createpaper',
  
          },
                  reader:
                  {type:'json',
                      //root:'polls',},
                  writer:
                  {type:'json',
                      root:'data',
                  }}});
  </code></pre>
  
  <p>So proxy's read property is set to above Url. Now i want to use this same store for some other view but with different Url for read property.So how to change store's read URL dynamically? i had tried as-
  on button click event i want to read data from url-
  /index.php/QuestionBank/qbpaper/Reviewquestionpaper111</p>
  
  <p>So on button click function i had written as-</p>
  
  <pre><code>review:function()
      {
          //alert("hello");
  
          var QbqnsStore=this.getStore('qb.QbqnsStore');
          proxy=QbqnsStore.getProxy();
          Ext.apply(proxy.api,{
              read:'http://127.0.0.1/s_balaee/Balaee/index.php/QuestionBank/qbpaper/Reviewquestionpaper',
  
          });
  </code></pre>
  
  <p>I have create variable of this store and provided new required URL. Bt its not working.
  So how to use same store for different views with different URL in read property.            </p>