Results 1 to 3 of 3

Thread: [Ext4.1] Paging problem

  1. #1
    Sencha User
    Join Date
    Aug 2011
    Posts
    121
    Answers
    4
    Vote Rating
    3
      0  

    Default 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
    9,388
    Answers
    716
    Vote Rating
    499
      0  

    Default

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

    Scott.

  3. #3
    Sencha User
    Join Date
    Aug 2011
    Posts
    121
    Answers
    4
    Vote Rating
    3
      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

Posting Permissions

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