Package com.smartgwt.client.data.events

# Interface HasDataArrivedHandlers

All Superinterfaces:
  `HasHandlers`

All Known Implementing Classes:
  `FilteredList`, `ResultSet`

public interface HasDataArrivedHandlers extends HasHandlers

- ## Method Summary

  Modifier and Type
  Method
  Description
  `HandlerRegistration`
  `addDataArrivedHandler(DataArrivedHandler handler)`
  Notification fired when data has arrived from the server and has been successfully integrated into the cache.

  ### Methods inherited from interface com.google.gwt.event.shared.HasHandlers

  `fireEvent`

- ## Method Details

  - ### addDataArrivedHandler

    HandlerRegistration addDataArrivedHandler(DataArrivedHandler handler)
    Notification fired when data has arrived from the server and has been successfully integrated into the cache.

    When `dataArrived()` fires, an immediate call to `getRange()` with the `startRow` and `endRow` passed as arguments will return a List with no `loading markers`.

    Note that `dataArrived()` won't fire in the case of the owning component filtering with unchanged criteria (for example using `ListGrid.fetchData()` or `ListGrid.filterData()`). To support backward compatibility, the property `reapplyUnchangedLocalFilter` can be set to force `dataArrived()` to be called if the ResultSet is `filtering locally` and the criteria haven't changed but are narrower than the criteria used to fetch the current cache.

    Parameters:
      `handler` - the dataArrived handler
    Returns:
      `HandlerRegistration` used to remove this handler