Interface DataArrivedHandler
- All Superinterfaces:
EventHandler
-
Method Summary
Modifier and TypeMethodDescriptionvoid
onDataArrived
(DataArrivedEvent event) Notification method fired when new data arrives from the server to be displayed in this ListGrid, (for example in response to the user scrolling a new set of rows into view).
-
Method Details
-
onDataArrived
Notification method fired when new data arrives from the server to be displayed in this ListGrid, (for example in response to the user scrolling a new set of rows into view). Only applies to databound listGrids where thedata
attribute is aResultSet
. This ResultSet may have been created manually and applied to the grid via a call tosetData()
or may have been created and automatically assigned iffetchData()
was used to populate the grid. This method is fired directly in response todataArrived()
firing on the data object.Note that
dataArrived()
, unlikeListGrid.dataChanged()
, only fires in limited circumstances - when data for aResultSet
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 toListGrid.dataChanged()
.- Parameters:
event
- the event
-