Skip to content

Instantly share code, notes, and snippets.

@springcome
Last active November 15, 2016 05:02
Show Gist options
  • Save springcome/0ae20f6200e4e44bfa9e9413fbfa80e5 to your computer and use it in GitHub Desktop.
Save springcome/0ae20f6200e4e44bfa9e9413fbfa80e5 to your computer and use it in GitHub Desktop.
SmartGWT, addDataArrivedHandler example
ComboBoxItem item = new ComboBoxItem("cd", "name");
item.addDataArrivedHandler(new DataArrivedHandler() {
@Overrid
public void onDataArrived(DataArrivedEvent event) {
ResultSet result = event.getData();
if (result != null) {
// Get fetch data.
Record [] records = result.getRange(0, result.getResultSize());
}
}
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment