Interface HasDataArrivedHandlers

All Superinterfaces:
HasHandlers
All Known Implementing Classes:
EditTree, TreeGrid, TreePalette

public interface HasDataArrivedHandlers extends HasHandlers
  • Method Details

    • addDataArrivedHandler

      HandlerRegistration addDataArrivedHandler(DataArrivedHandler handler)
      Notification method fired whenever this TreeGrid receives new data nodes from the dataSource. Only applies to databound TreeGrids where data is a ResultTree - either explicitly created and applied via setData() or automatically generated via a fetchData() call.

      Note that dataArrived(), unlike TreeGrid.dataChanged(), only fires in limited circumstances - when data for a ResultTree arrives from the server due to a fetch or cache invalidation, or as a result of filtering. If you want to catch all data changes, you should instead react to TreeGrid.dataChanged().

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