title: Extjs how to memorize a response from an Ajax request?
body: <p>I want to memorize the response of an ajax request, how I can do it?
  In the code above, I found "" in the console...
  How can I do it? any suggests?</p>
  
  <pre><code>   var jsoncolumnset = '';
  
      Ext.Ajax.request({
          scope: this,
          url: 'index.php',
          params: {
              m: 'Columnset',
              a: 'readDefault'
          },
          reader: {
              type: 'json',
              root: 'rows'
          },
          success: function(response){
              //Passo tutto il json (dovrebbe essere fatto un decode, ma viene gestito da Alfresco)     
              jsoncolumnset = response.responseText;
              this.getStore('Documents').proxy.extraParams.columnset = response.responseText;
  
  
          },
          failure: function(){
          //TODO: gestione fallimento chiamata
          }
      });
      console.log(jsoncolumnset);
  </code></pre>