Posts

Showing posts from February, 2012

GXT - ComoboBox with Multi select feature

Image
Hi There! :-) Its been a while since I am working on GWT(Google Web Toolkit) and its wrapper framework like ext-GWT (which is called as GXT) and have come across lots of new widgets and containers. One recent feature request, I had to work on recently, which caught my attention was Mutli-Select ComboBox. What does it mean ? Its a ComboBox (a widget which will allow user to edit - as well as select values from multiple options it provides) How its different from normal ComboBox? Multi-ComboBox allows you to select multiple values from options (unlike normal combo which allows to select only one value at a time) Now as I went on to analyse the implementation of this widget, I remembered a component from GXT called CheckBoxListView . Which is a list view comprising of CheckBox components. As I found this component perfect to select multiple values, I went on to integrate it with TriggerField . I thought of creating a Dialog widget which will act as ComboBox "option prov