如何在智能gwt中制作unedit组合框文本

时间:2012-11-07 13:52:23

标签: combobox smartgwt

在smartgwt中,当我聚焦组合框的选定值时,所选值正在编辑。我希望选定的值变得不可编辑。我该怎么做?

1 个答案:

答案 0 :(得分:2)

当您说组合框时,您必须使用ComboBoxItem。这是ComboBoxItemSelectItem之间的基本区别。为了满足您的要求,您需要使用SelectItem代替ComboBoxItem