Interface DataArrivedHandler

All Superinterfaces:
EventHandler

public interface DataArrivedHandler extends EventHandler
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Notification method fired whenever this TreeGrid receives new data nodes from the dataSource.
  • Method Details

    • onDataArrived

      void onDataArrived(DataArrivedEvent event)
      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:
      event - the event