public interface HasDataArrivedHandlers
extends com.google.gwt.event.shared.HasHandlers
Modifier and Type | Method and Description |
---|---|
com.google.gwt.event.shared.HandlerRegistration |
addDataArrivedHandler(DataArrivedHandler handler)
Notification method fired whenever this TreeGrid receives new data nodes from the dataSource.
|
com.google.gwt.event.shared.HandlerRegistration addDataArrivedHandler(DataArrivedHandler handler)
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()
.
handler
- the dataArrived handlerHandlerRegistration
used to remove this handler