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?
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?
Use " " item insted of empty string.
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?
SimpleComboBox<String> combo = new SimpleComboBox<String>(new StringLabelProvider<String>());