Search code examples
comboboxsmartgwt

How to make unedit combobox text in smart gwt


In smartgwt when i focus combobox's selected value, selected value is editing. I want that selected value become uneditable. How will i do this?


Solution

  • When you say combobox, you must be using ComboBoxItem. This is the basic difference between ComboBoxItem and SelectItem. To achieve your requirement you need to use SelectItem instead of ComboBoxItem.