Skip to main content



      Home
Home » Eclipse Projects » NatTable » Autocomplete feature in NatCombo(Autocomplete feature in NatCombo)
Autocomplete feature in NatCombo [message #1651714] Thu, 05 March 2015 08:16 Go to next message
Eclipse UserFriend
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 08:52 Go to previous message
Eclipse UserFriend
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: Tue Jun 17 01:28:17 EDT 2025

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

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

Back to the top