-
5 Mar 2012 7:18 AM #1
Unanswered: Blank Item for ComboBox
Unanswered: Blank Item for ComboBox
I'm trying to add a blank item to the top of a combobox. When added, the height of the item becomes only a few pixels high. I've fixed this in the past using setTemplate, although I see that this method has been removed from ComboBox in the version of GXT that I am using (beta3).
Is there a better way to deal with blank items, or another way to work around the issue?
-
2 May 2013 6:56 AM #2
Even I am facing the same problem. I would like the blank row to be in the same height as other rows. How to set the row height for blank item?
-
14 May 2013 1:38 AM #3
Use " " item insted of empty string.
-
16 May 2013 5:38 AM #4
I have a SimpleComboBox with a StirngLabelProvider. As per your suggestion I added " " to the combo box, but it lists down " " as an item, its not creating an empty row as expected. Am I missing anything?
Code:SimpleComboBox<String> combo = new SimpleComboBox<String>(new StringLabelProvider<String>()); combo.add(" "); ..... .... combo.setTriggerAction(TriggerAction.ALL);


Reply With Quote