Combobox having values but not showing text
Posted
by ras
on Stack Overflow
See other posts from Stack Overflow
or by ras
Published on 2010-05-20T13:47:59Z
Indexed on
2010/05/20
13:50 UTC
Read the original article
Hit count: 254
hi,
I'm using GWT-EXT combobox. My problem is when I render the combobox, it's having as many rows as it has values but all the rows are empty means text is not shown. Here's my code.
Combobox cb = new Combobox(); cb.setForceSelection(true); cb.setMinChars(1); cb.setWidth(200); cb.setStore(store); // Store is perfectly loaded in combobox cb.setDisplayField("ReportName"); cb.setMode(ComboBox.LOCAL); cb.setTriggerAction(ALL); cb.setEmptyText("--Select--"); cb.setLoadingText("Searching..."); cb.setTypeAhead(true); cb.setSelectOnFocus(true);
All other code is working fine. I'm sure for one thing that this problem is related to one of the functions of Combobox.
Thanks in advance.
© Stack Overflow or respective owner