Nicodemuz
21 Mar 2011, 7:42 PM
Hi,
I have a sheet (Ext.Sheet) with lots of stuff in it. In this sheet, I am trying to open a modal MessageBox. Below is the code I'm trying to use:
Ext.Msg.show({
cls: 'popupBox',
modal: true,
title: 'Removal',
msg: 'Are you sure you want to remove this?',
buttons: Ext.MessageBox.YESNO,
fn: removeSelectedItem,
scope : this,
icon: Ext.MessageBox.QUESTION,
});
I have declared the MessageBox as modal, but I believe the MessageBox is not able to be modal on top of a sheet? Is this a bug? And is there any workaround to make the MessageBox appear modal on top of a Ext.Sheet?
Thanks!
I have a sheet (Ext.Sheet) with lots of stuff in it. In this sheet, I am trying to open a modal MessageBox. Below is the code I'm trying to use:
Ext.Msg.show({
cls: 'popupBox',
modal: true,
title: 'Removal',
msg: 'Are you sure you want to remove this?',
buttons: Ext.MessageBox.YESNO,
fn: removeSelectedItem,
scope : this,
icon: Ext.MessageBox.QUESTION,
});
I have declared the MessageBox as modal, but I believe the MessageBox is not able to be modal on top of a sheet? Is this a bug? And is there any workaround to make the MessageBox appear modal on top of a Ext.Sheet?
Thanks!