|Re: Filter Combobox List [message #922863 is a reply to message #922689]
||Tue, 25 September 2012 12:03
| Ivan Furnadjiev
Registered: July 2009
Location: Sofia, Bulgaria
Combo widget is not designed to handle huge amount of items. If you need
content filtering the JFace ContentProposalAdapter is the proper way to
go. It uses key events too together with a Text widget modify event, but
it's more optimized for content filtering.
On 9/25/2012 11:34 AM, Stefan M wrote:
> We are currently adapting our application to RAP.
> We have a custom combobox(dropdown) which supports filtering the list
> of values as you type and autocompletion.
> Currently this is implemented using standard SWT components, so there
> is a keylistener on the textfield and the listener updates the list
> according to the given input.
> As you can imagine, this shows bad performance in RAP since the
> keylistener events have to be processed on the server.
> I checked out other frameworks like vaadin, there the standard
> dropdown supports filtering out of the box.
> demo.vaadin.com/sampler#ComboBoxStartsWith (unfortunately i am not
> allowed to put here a real link because the forum wont let me ;))
> Is it planned to add this feature to the standard combo (maybe
> activated through some key in the setData(..) method like with the
> other non-SWT features)?
> It would help us very much since our application has very large
> combo-lists and otherwise we would have to implement a custom-native
> Thanks in advance
Professional services for RAP and RCP?
Powered by FUDForum
. Page generated in 0.01829 seconds