PDA

View Full Version : Modal Window Behavior



TampaBay55
16 Oct 2014, 11:56 AM
Greetings:

I have a ViewController the controls a grid panel with the following method:

...
updateRecord: function(record,action){
this.form = this.getView().add({
xtype: 'pradataform',
alignTarget: Ext.getCmp('adminmain'),
modal: true,
action: action
});
this.form.down('form').getForm().loadRecord(record);
this.form.show();
},
...
When the form is rendered, the only thing that greys behind the window is the controller's view (i.e. the grid). I can still click the grid's buttons, click the main app's buttons, etc. If the window is modal, I believe that EVERYTHING behind the window should be inaccessible until the window is closed or destroyed. Is there anyway to get around this issue? Thank you!

TampaBay55
16 Oct 2014, 11:58 AM
Posted in wrong forum.