I am using a EXT GWT ComboBox. I want to show something like for every
change of county i want to populate State .
I think i need to add some listener events to capture the selected
index . Can anyone show me a sample of how to do a country state
dropdown in GWT . I also want to know how to setSelectedINdex of the
County down to some default value in the xombox box I just got the
county populated. This is my code
ComboBox<CountryList> combo = new ComboBox< CountryList >();
combo.setEmptyText("Select a Country ...");
combo.setDisplayField("key");
combo.setWidth(150);
combo.setStore(countryValues);
combo.setTypeAhead(true);
combo.setTriggerAction(TriggerAction.ALL);
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Google Web Toolkit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---