1

We have requirement to show CheckComboBox in expandable mode after click of button.

The normal ComboBox is having show() method and we need same method /functionality for CheckComboBox.

show() method is not availanble for CheckComboBox. Can you let us know if you have any trick to solve this.

fabian
  • 80,457
  • 12
  • 86
  • 114

1 Answers1

1

I have found an answer:

 CheckComboBoxSkin obj = (CheckComboBoxSkin)checkComboBox.getSkin();
         ComboBox combo = (ComboBox)obj.getChildren().get(0);
         combo.show();
kayess
  • 3,384
  • 9
  • 28
  • 45