-
25 Jan 2011 2:10 AM #1
Combobox doesn't work always
Combobox doesn't work always
Hello.
I'm having some issues with the component ComboBox.
Here is the code I am using:
The combo is showing 2 provinces, and sometimes (not always) if I try to chose one, it doesn't let me.Code:LayoutContainer combosPanel = new LayoutContainer(new RowLayout(Orientation.HORIZONTAL)); combosPanel.setSize(610, 22); final ComboBox<BeanModel> comboProvince = new ComboBox<BeanModel>(); ListStore<BeanModel> storeProvinces = new ListStore<BeanModel>(); storeProvinces .add(provincesModel); comboProvince.setId("comboProvince"); comboProvince.setStore(storeProvinces); comboProvince.setEmptyText("Province"); comboProvince.setDisplayField("name"); comboProvince.setSize(135, 22); comboProvince.setTriggerAction(TriggerAction.ALL); comboProvince.addSelectionChangedListener(new SelectionChangedListener<BeanModel>() { @Override public void selectionChanged(SelectionChangedEvent<BeanModel> se) { comboTowns.disable(); } }); combosPanel.add(comboProvince, new RowData(-1, -1));
It expands the list, and if I try to click on one, it doesn't select it, it doesn't collapse the list, nothing. It's like if the component is blocked and can't receive the mouse events.
I have to write the name of the province on the comboBox and then push enter to select it.
I was just wondering if this is something that someone else reported or it's just something that only happends to me.
Thanks.
I'm using Google Chrome (for give more information).
-
25 Jan 2011 11:16 AM #2
This is hard to say without having a fully working testcase. Have you checked if there are any exceptions?
Have you also tried to reproduce this in a small stansalone testcase implementing EntryPoint? This would probably the fastest way to solve it.
-
26 Jan 2011 12:02 AM #3
Hello sven.
Debbuging the application doesn't give any exception, but I should try it with my browser, maybe there are some javascript warnings or exceptions.
The next time it will happend I will check it out and let you know.
Thank you.
-
18 Jan 2012 4:40 AM #4
(TypeError): Cannot read property 'itemSelector' of null
(TypeError): Cannot read property 'itemSelector' of null
Hello.
I have added call stack here:
http://www.sencha.com/forum/showthre...750#post716750
Similar Threads
-
Combobox binding doesn't work
By pejo in forum Ext GWT: DiscussionReplies: 6Last Post: 22 Nov 2010, 7:42 AM -
[CLOSED] [2.0.1] Combobox in MenuItem doesn't work
By mike07 in forum Ext GWT: Bugs (2.x)Replies: 3Last Post: 2 Feb 2010, 1:55 PM -
[2.1] overCls in combobox doesn't work with renderTo
By dolittle in forum Ext 2.x: BugsReplies: 6Last Post: 20 Apr 2009, 7:06 AM -
My Combobox doesn't work well.
By mashiki in forum Ext 2.x: Help & DiscussionReplies: 4Last Post: 14 Feb 2008, 8:22 AM -
ComboBox onChange doesn't work?
By gelleneu in forum Ext 1.x: Help & DiscussionReplies: 2Last Post: 16 Aug 2007, 4:31 AM


Reply With Quote