Created
April 27, 2016 11:35
-
-
Save springcome/25091d87bdb354c46fd64ad4db414502 to your computer and use it in GitHub Desktop.
SmartGWT, ComboBoxItem, getSelectRecord()
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 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