PDA

View Full Version : how to set multiple overlay modal for sencha component



nitneverlost
9 Jul 2012, 7:41 AM
I have a button in my application when clicked a panel appears and overlay window created, on the newly created panel i have another button when clicked opens another window with overlay.ideally upper panel should block the access to underneath panel but still let user access the underneath panel.panel 1

app.views.EventForm = new Ext.Panel({
id: 'eventFormPanel',
layout: 'hbox',
floating: true,
modal: true,
})

panel 2

app.views.RecurringOptions= new Ext.Panel({
id: 'RecurringOptions',
layout: 'hbox',
floating: true,
modal: true,
})

mitchellsimoens
11 Jul 2012, 6:07 AM
IMO, having multiple floating components shown at once is a messy UI. I always hide one when I show another or just reuse the one like with a card layout.