code: public void onFeatureDeselected(FeatureDeselectedEvent event) {
  		Feature feature = event.getFeature();
  
  		// Only deselect if it is actually selected:
  		boolean selected = false;
  		ListGridRecord[] selections = getSelection();
  		for (ListGridRecord selection : selections) {
  			if (selection.getAttribute(FIELD_NAME_FEATURE_ID).equals(feature.getId())) {
  				selected = true;
  				break;
  			}
  		}
  
  		// If selected, find the correct row and deselect:
  		if (selected) {
  			ListGridRecord[] records = this.getRecords();
  			for (ListGridRecord record : records) {
  				if (record.getAttribute(FIELD_NAME_FEATURE_ID).equals(feature.getId())) {
  					deselectRecord(record);
  					break;
  				}
  			}
  		}
  	}
docs: This method is used only when selection is enabled (see setSelectionEnabled). When a feature deselection event is
  sent out from the MapModel, check if we have that row selected and deselect it.