1. #1
    Sencha User
    Join Date
    Aug 2011
    Posts
    89
    Answers
    1
    Vote Rating
    2
    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
    8,927
    Answers
    656
    Vote Rating
    443
    scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future

      0  

    Default


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

    Scott.

  3. #3
    Sencha User
    Join Date
    Aug 2011
    Posts
    89
    Answers
    1
    Vote Rating
    2
    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);
         }


Thread Participants: 1

Tags for this Thread