Announcement

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

    How to switch off ComboBoxItem filter

    Hi,

    I have a databound ComboBoxItem and I have it working so that when text is entered in it, a fetch is fired which filters the picklist server-side and returns a set of records which *contain* the entered text.

    Standard behaviour of the ComboBox filters the picklist records and hides anything which does not start with the entered text. I don't want this to happen. Is there a way to disable this behaviour?

    Thanks,
    Alan

    #2
    Figured it out. Just needed to call:

    comboBox.setTextMatchStyle(TextMatchStyle.SUBSTRING);

    thanks

    Comment

    Working...
    X