Skip navigation

When the incoming data differs from your selectedLabel.

This one comes up frequently. Let’s say that the incoming data from a service call has months set as numeric values, but you want to show months as either short or long names, not as a number. There is no direct way to set monthsCombo.selectedItem.value = service.result. You’ll have to iterate through the dataprovider instead. It’s probably best to use a custom combobox component for this, as no doubt this will be used in more than one place in your application.

View Application

View Source


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: