Gxt ComboBox provides a powerful and compact way of allowing selection from a lot of beans or POJOs as described in the previous recipe. However, there are times we need to configure the models (
ModelData instances) stored in the combo's store by altering/formatting existing fields or adding totally new fields.
Customer POJO with a
lastname field, no
fullname field, but a
getFullName() helper method that returns the concatenation of
getFirstName(). How do we display the full names of the customers in the combo's drop-down list? As there's no
fullname field in the
Customer POJO (it is computed) what do we use in the combo's
Even if there ...