]> source.dussan.org Git - vaadin-framework.git/commit
Move ActiveRowHandler to the data provider extension (#13334)
authorLeif Åstrand <leif@vaadin.com>
Fri, 30 May 2014 06:50:40 +0000 (09:50 +0300)
committerHenrik Paul <henrik@vaadin.com>
Fri, 30 May 2014 08:21:37 +0000 (08:21 +0000)
commit964ebc8a2c4024f2a4fe60e9eec140e351c724bb
tree2c42c069c32ce2a509a8521d13cc3a5842c198b5
parent703f75826954f725f44f54c585f858f185300bb9
Move ActiveRowHandler to the data provider extension (#13334)

This makes GridConnector include information about what rows are cached
when more data is requested instead of the previous way of synchronizing
this separately every time a scroll event occurs. This new approach
makes it possible to have rows cached even if they are not in view. It
also improves performance since there's no need to do an RPC every time
scrolling changes what is visible.

Change-Id: Ibfe8a69586dfc397591f56efa8ef351e274f0116
client/src/com/vaadin/client/data/AbstractRemoteDataSource.java
client/src/com/vaadin/client/data/RpcDataSourceConnector.java
client/src/com/vaadin/client/ui/grid/GridConnector.java
server/src/com/vaadin/data/RpcDataProviderExtension.java
server/src/com/vaadin/ui/components/grid/Grid.java
shared/src/com/vaadin/shared/data/DataRequestRpc.java
shared/src/com/vaadin/shared/ui/grid/GridServerRpc.java [deleted file]