Last active
          November 15, 2016 05:02 
        
      - 
      
- 
        Save springcome/0ae20f6200e4e44bfa9e9413fbfa80e5 to your computer and use it in GitHub Desktop. 
    SmartGWT, addDataArrivedHandler example
  
        
  
    
      This file contains hidden or 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
    
  
  
    
  | 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