Results 1 to 2 of 2

Thread: callback of store not fire

  1. #1
    Sencha User
    Join Date
    Jun 2018
    Posts
    25

    Default callback of store not fire

    hello

    have this code

    PHP Code:
                newView.down('gridpanel').getStore().load({                
    scopethis,                
    callback: function(recordsoperationsuccess) {                   
       if (
    success == false) {                        
          
    =  Ext.decode(operation.error.response.responseText); 
          
    alert(z.message);  
       }
     }}); 
    and this code

    PHP Code:
              this.lastView.down('gridpanel').getStore().load            ({                
                  
    callback: function(recordsoperationsuccess) {                    
                           if (
    success == false) {                        
                              
    Ext.decode(operation.error.response.responseText); 
                             
    alert(z.message);  
     }
                                    }}); 

    in first code callback not fire. on the second code - fire.
    in all cases i see downloading from server. and see answer. in chome network tab.

    where is problem?


    Thanks

  2. #2
    Sencha User
    Join Date
    Jun 2018
    Posts
    25

    Default

    Problem found )
    all stores have same parent. in the parent have this.proxy.on('exception' handler.
    But. Why on first code load callback not fired and on second fired?

Similar Threads

  1. Expand node does not fire callback
    By nothing in forum Ext: Q&A
    Replies: 1
    Last Post: 21 Nov 2012, 5:40 AM
  2. Ext.syncRequire does not fire callback function
    By kkris1983 in forum Ext: Q&A
    Replies: 4
    Last Post: 8 May 2012, 12:08 AM
  3. Replies: 3
    Last Post: 28 May 2009, 11:51 AM
  4. Ajax.formRequest: Callback not fire..
    By kevin.dewi in forum Ext 1.x: Help & Discussion
    Replies: 2
    Last Post: 3 May 2007, 10:40 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •