Nov 20, 2013, 12:33 AM
[OPEN] [#387] CellEditing ValidateEdit with Ext.Msg.Show
I have a ext:GridPanel that is an item of ext:Window which is modal="true". During the CellEditing listener ValidateEdit I check if a certain field is being edited (e.field) and if it is I check if it is a duplicate name (Ext.Array.some). If so I return false. Everything works perfectly.
Now I decided to also display a message to the user in the ValidateEdit function.
Thoughts ...
Now I decided to also display a message to the user in the ValidateEdit function.
if (duplicateName)
Ext.Msg.show({ icon: Ext.MessageBox.ERROR, msg: 'Release name is duplicate.', buttons: Ext.Msg.OK, modal: true });
The problem is that the message displays behind the Window and does not block the Window/GridPanel. Is this because the Window/GridPanel is already modal?Thoughts ...
Last edited by Baidaly; Nov 20, 2013 at 7:28 PM.
Reason: [OPEN] [#387]