PDA

View Full Version : [Ext4.1] Paging problem



darkhorni
14 Jun 2012, 1:18 AM
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.


listeners: { //under the store
'metachange': function(store,meta){
console.log(meta);
console.log(meta.columns);
grid.reconfigure(store,meta.columns);
}

scottmartin
14 Jun 2012, 2:58 PM
Can you provide more detail about what you are having problems with?

Scott.

darkhorni
14 Jun 2012, 10:06 PM
I have overcome the issue


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