Interface HasDataArrivedHandlers
- All Superinterfaces:
HasHandlers
- All Known Implementing Classes:
EditTree
,TreeGrid
,TreePalette
-
Method Summary
Modifier and TypeMethodDescriptionaddDataArrivedHandler
(DataArrivedHandler handler) Notification method fired whenever this TreeGrid receives new data nodes from the dataSource.Methods inherited from interface com.google.gwt.event.shared.HasHandlers
fireEvent
-
Method Details
-
addDataArrivedHandler
Notification method fired whenever this TreeGrid receives new data nodes from the dataSource. Only applies to databound TreeGrids wheredata
is aResultTree
- either explicitly created and applied viasetData()
or automatically generated via afetchData()
call.Note that
dataArrived()
, unlikeTreeGrid.dataChanged()
, only fires in limited circumstances - when data for aResultTree
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 toTreeGrid.dataChanged()
.- Parameters:
handler
- the dataArrived handler- Returns:
HandlerRegistration
used to remove this handler
-