How to filter values in Editable ComboBox or ComboViewer

803 views Asked by At

how to filter the Values of Combo in SWT.

For Examble if i have a,abc,bcd,acd,com,aaa,bed,bot,catvalues in combo dropdown.

if i type "a" in combo it should display only "a,abc,acd,aaa" in combo dropdown.

is there any way to get?

1

There are 1 answers

0
halfpad On

JFace ComboViewer api allows the setting of a filter (ViewerFilter). If you are using JFace, this should help.