PDA

View Full Version : Ext.data.DirectStore????GridPanel?loadMask?????????



porgy
23 Jun 2010, 12:00 AM
????????????????
Ext.Direct?????GridPanel??????????GridPanel??loadMask: true?????????????????????????????????????Ext.Direct???JsonStore????loadMask:true??????????
?????????????

porgy
23 Jun 2010, 5:22 PM
DirectStore?autoLoad?true????loadMask???????????????????grid?center?????????????reload????center????????autoLoad?false???GridPanel?onRender???????????????????????



onRender: function() {
TestGrid.superclass.onRender.apply(this, arguments);
this.store.load();
},


????????DirectStore????????????????????????????

porgy
23 Jun 2010, 5:51 PM
listeners: {
afterrender: function(grid) {
grid.getStore().load();
}
}

?????loadMask??????????????????????????????
????????DirectStore??????????????????????????????????????