-
14 Jun 2012 1:18 AM #1
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);
}
-
14 Jun 2012 2:58 PM #2Sencha - Support Team
- Join Date
- Jul 2010
- Location
- Houston, Tx
- Posts
- 7,185
- Vote Rating
- 194
- Answers
- 433
Can you provide more detail about what you are having problems with?
Scott.
-
14 Jun 2012 10:06 PM #3
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);
}
}


Reply With Quote