1. #1
    Sencha User
    Join Date
    Aug 2011
    Posts
    83
    Vote Rating
    1
    Answers
    1
    darkhorni is on a distinguished road

      0  

    Default Unanswered: [Ext4.1] Paging problem

    Unanswered: [Ext4.1] Paging problem


    I have figure out that when the grid has paging property you should not sent the metaData property second time from the server. Because if you send it second time paging breaks. I only needs to send at first. How should I overcome this problem? The problem comes from this code that I have found it in the documentation.
    PHP Code:
            listeners: { //under the store
                
    'metachange': function(store,meta){
                
    console.log(meta);
                
    console.log(meta.columns);
                
    grid.reconfigure(store,meta.columns);
                } 

  2. #2
    Sencha - Support Team scottmartin's Avatar
    Join Date
    Jul 2010
    Location
    Houston, Tx
    Posts
    7,185
    Vote Rating
    194
    Answers
    433
    scottmartin is a splendid one to behold scottmartin is a splendid one to behold scottmartin is a splendid one to behold scottmartin is a splendid one to behold scottmartin is a splendid one to behold scottmartin is a splendid one to behold scottmartin is a splendid one to behold

      0  

    Default


    Can you provide more detail about what you are having problems with?

    Scott.

  3. #3
    Sencha User
    Join Date
    Aug 2011
    Posts
    83
    Vote Rating
    1
    Answers
    1
    darkhorni is on a distinguished road

      0  

    Default


    I have overcome the issue

    PHP Code:
    listeners: { //under the store
        
    'metachange': function(store,meta){
         if ( !
    this.meta )
         {
             
    this.meta meta;
             
    grid.reconfigure(store,meta.columns);
         }


Tags for this Thread