Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » NatTable » Autocomplete feature in NatCombo(Autocomplete feature in NatCombo)
Autocomplete feature in NatCombo [message #1651714] Thu, 05 March 2015 13:16 Go to next message
gaurav dubey is currently offline gaurav dubeyFriend
Messages: 45
Registered: July 2009
We are displaying Combo box in NatTable using ComboBoxCellEditor, The component used to display combo is NatCombo. We have requirement of Auto complition feature in NatCombo similar to SWT Combo.

I have tried to implement the same logic for NatCombo to display auto completion list but In NatCombo on focus dropdown list is being displayed.

Can any one guide me how can i achieve the same auto complition behaviour in NatCombo?

Thanks in Advance.
Re: Autocomplete feature in NatCombo [message #1651766 is a reply to message #1651714] Thu, 05 March 2015 13:52 Go to previous message
Dirk Fauth is currently offline Dirk FauthFriend
Messages: 2803
Registered: July 2012
Senior Member
NatCombo in its current state does not support such filtering logic. And I don't see a way to add such a feature without a major change. Currently the dropdown part of NatCombo is a SWT Table. This doesn't support an easy way for filtering. At least I don't know one. It would need to be changed to a JFace TableViewer which supports ViewerFilter.

Either implement your own NatCombo that uses a TableViewer instead of a Table. Modify the existing NatCombo and contribute the changes. Or try if you can implement an editor that uses a ComboViewer for example.
Previous Topic:Need help to Customize copy-paste on NAT table
Next Topic:Autocomplition in NatCombo
Goto Forum:

Current Time: Thu Feb 25 08:43:53 GMT 2021

Powered by FUDForum. Page generated in 0.01815 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top