Skip to content

Instantly share code, notes, and snippets.

@springcome
Created April 27, 2016 11:35
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save springcome/25091d87bdb354c46fd64ad4db414502 to your computer and use it in GitHub Desktop.
Save springcome/25091d87bdb354c46fd64ad4db414502 to your computer and use it in GitHub Desktop.
SmartGWT, ComboBoxItem, getSelectRecord()
// DynamicForm name => form
ComboBoxItem ti01 = new ComboBoxItem("item");
ti01.addChangedHandler(new ChangedHandler() {
@Override
public void onChanged(ChangedEvent event) {
Record record = form.getItem("item").getSelectedRecord();
form.editRecord(record);
}
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment