Quantcast
Channel: SmartClient Forums
Viewing all articles
Browse latest Browse all 4756

Hide a MultiComboBoxItem's select component

$
0
0
Hi,

is there a way to make a MultiComboBoxItem's select component visually disappear in a form (leaving just the label and the buttons)? This would be nice in cases that form is read only.
I tried the following:
Code:

            ComboBoxItem cbd = myMultiComboBoxItem.getComboBoxDefaults();
            cbd.setWidth(1);
            cbd.setVisible(false);
            myMultiComboBoxItem.setComboBoxProperties(cbd);

to no avail (i.e. there now is a gap where the MultiComboBoxItem lived).

Thanks,
fatzopilot

Viewing all articles
Browse latest Browse all 4756

Trending Articles