How do I create a non-editable GXT ComboBox?

Posted by VogonPoet on Stack Overflow See other posts from Stack Overflow or by VogonPoet
Published on 2010-03-25T18:00:37Z Indexed on 2010/03/25 18:03 UTC
Read the original article Hit count: 293

Filed under:
|
|

I'm using GWT/GXT and trying to create a "normal" ComboBox - one that you cannot type in, but you can type a single character and it will automatically go to the first item in the list that starts with that letter. So, I don't want it READONLY, I want it so that you cannot replace the text in it with your own text (can't type characters into it).

I cannot figure out how to get ComboBox or SimpleComboBox to do this. I've tried every combination of settings on it to no avail. I did see there is a GXT ListBox, but i need a component that extends from Field.

Is there really no way to do this or am I missing something?

© Stack Overflow or respective owner

Related posts about java

Related posts about gxt