Skip to content

JFXComboBox incremental search #1260

@valimaties

Description

@valimaties

Hi.
I love to see the incremental search in JFXComboBox control when it is not Editable. So user cannot write in the text area, but will be very nice to be able to press letters on the keyboard and the combobox to search for the "inserted" text, and if the sequence of the keys typed from the keyboard was found, then the background of the text to be set as another colour. I've saw this in some controls on the web application, I think this could be made using CellFactory. Intercepting the key event, it may be written in a invisible TextField, and in the CellFactory class the text of the TextField can be used as the text to be displayed with another background if it is found in the items collection.
Someone with a good coding skills in JavaFX? 😁

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions