]> source.dussan.org Git - vaadin-framework.git/commit
Make initially disabled grid work when enabled (#20240)
authorArtur Signell <artur@vaadin.com>
Sun, 18 Sep 2016 14:35:34 +0000 (17:35 +0300)
committerArtur Signell <artur@vaadin.com>
Tue, 20 Sep 2016 06:48:52 +0000 (09:48 +0300)
commit6033e13c20b3d6e8b6f5add0f786d5ab2e1bb3fe
treec74c4d9c47d494ea0aa4484b39607ae924d8a413
parentf5d06d877165bf413ec71c4fc88cf46c8c57a372
Make initially disabled grid work when enabled (#20240)

Adds API to allow grid to ask its data source if it is waiting for data.
The previous tracking inside grid was not always correct as it relied
on dataAvailable being called.

Change-Id: I0bdb448d9b720155940b0834e118f0eca27a3bfc
client/src/main/java/com/vaadin/client/connectors/RpcDataSourceConnector.java
client/src/main/java/com/vaadin/client/data/AbstractRemoteDataSource.java
client/src/main/java/com/vaadin/client/data/DataSource.java
client/src/main/java/com/vaadin/client/widget/grid/datasources/ListDataSource.java
client/src/main/java/com/vaadin/client/widgets/Grid.java
uitest/src/main/java/com/vaadin/tests/components/grid/InitiallyDisabledGrid.java
uitest/src/main/java/com/vaadin/tests/widgetset/client/grid/GridCellFocusOnResetSizeWidget.java
uitest/src/main/java/com/vaadin/tests/widgetset/client/grid/GridClientColumnRendererConnector.java
uitest/src/test/java/com/vaadin/tests/components/grid/InitiallyDisabledGridTest.java