Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    How to remove the title of ComboBoxItem?

    Hi, I would like to remove the title of ComboBoxItem.

    But, setTitle(null) is not working.
    setTitle("") shows the colon character.

    Is there any way to remove the title?

    Code:
    ComboBoxItem cbItem = new ComboBoxItem();
    cbItem.setTitle(null);
    Thanks in advance.
    Sang-Kyun Kim

    #2
    Hi,
    your code
    Code:
    ComboBoxItem cbItem = new ComboBoxItem();
    cbItem.setTitle(null);
    the right one
    Code:
    ComboBoxItem cbItem = new ComboBoxItem("cbItem"); //THis is the ID cbItem.setTitle("YOUR TITLE")
    cbItem.setShowTitle(true);//MAsk the title !!

    Comment

    Working...
    X