bzborow1
27 Jan 2011, 12:34 PM
Hi guys,
I'm a long-time j2ee programmer, but am a newbie with this extjs stuff. My problem is that I'm trying to create as elegant a solution to a gridpanel of web service results. How do I add a loading mask into an Ext.grid.GridPanel object that is contained within an Ext.Window?
//define the result grid.
this._gridControl = new Ext.grid.GridPanel({
id: 'gridControlCpl',
store: this._store,
cm: this._columnModel,
sm: new Ext.grid.RowSelectionModel({singleSelect:true}),
enableColLock: false,
height: this.height,
width: this.width,
view: new Ext.grid.GridView({
forcFit: true,
autofill: true
}),
layout: 'fit',
autoDestroy: false,
loadMask: true
});
this._store.load({
params: this._params
});
I'm a long-time j2ee programmer, but am a newbie with this extjs stuff. My problem is that I'm trying to create as elegant a solution to a gridpanel of web service results. How do I add a loading mask into an Ext.grid.GridPanel object that is contained within an Ext.Window?
//define the result grid.
this._gridControl = new Ext.grid.GridPanel({
id: 'gridControlCpl',
store: this._store,
cm: this._columnModel,
sm: new Ext.grid.RowSelectionModel({singleSelect:true}),
enableColLock: false,
height: this.height,
width: this.width,
view: new Ext.grid.GridView({
forcFit: true,
autofill: true
}),
layout: 'fit',
autoDestroy: false,
loadMask: true
});
this._store.load({
params: this._params
});