PDA

View Full Version : Help with editable row with combobox inside a window



ycjason
2 Sep 2010, 3:57 PM
hi,
I am pretty new to Ext, and trying to fix a few bugs for a big project written in ExtJS and ExtMVC. I have a strange problem with one page which is a pop up modal window (xtype: 'window').

inside the window, there is a gridpanel with editable rows, when a user double clicks on the row, that record becomes editable. Here is where the problem occurs, one of the column's cell editor is actually a combobox, but the combobox is not really accessible because it is appearing behind the window instead of on top or on the window, so the window is blocking access to the combobox.

I searched the forum and saw a post similar to this one about window and combobox not working together for the exact same issue, is there any other component type in ExtJS that can be modal and still work properly with Grid and ComboBox? Thank you very much!

Jason

Condor
3 Sep 2010, 1:09 AM
It's a zindex bug (http://www.sencha.com/forum/showthread.php?97227-CLOSED-Combo-Z-Index-issue&p=459092#post459092).

catapult
3 Sep 2010, 2:20 AM
http://www.sencha.com/forum/showthread.php?107844-ComboBox-fails-in-nexted-window&p=504889#post504889
Is this the post you looked at? If not you could try adding the override for the combobox to your code.

catapult
3 Sep 2010, 2:22 AM
http://www.sencha.com/forum/showthread.php?107844-ComboBox-fails-in-nexted-window&p=504889#post504889

Is this the post you looked at? If not you could try adding the combobox override to your code.

ycjason
3 Sep 2010, 5:37 AM
Thanks a lot for the help, I got it fixed with the override method.