]> source.dussan.org Git - vaadin-framework.git/commit
Updates to TreeGrid's ensureAvailability handling. (#12374)
authorAnna Koskinen <Ansku@users.noreply.github.com>
Fri, 20 Aug 2021 11:27:18 +0000 (14:27 +0300)
committerGitHub <noreply@github.com>
Fri, 20 Aug 2021 11:27:18 +0000 (14:27 +0300)
commit7c666980c0dabcf6f3dbcd0e395b5cbdec024dc7
tree2fa6a97cc9a49afa67057d1695ca8560fe3ff7f2
parent029f47f1faaa9fd421e01b3b7fc664faf0fcae8f
Updates to TreeGrid's ensureAvailability handling. (#12374)

- Always update the availability request range when more or less data
becomes available. Otherwise e.g. programmatically expanding a TreeGrid
row can lead to discarding a lot of the new data right after receiving
it.

Fixes #12372
client/src/main/java/com/vaadin/client/ui/treegrid/TreeGridConnector.java
uitest/src/main/java/com/vaadin/tests/components/treegrid/TreeGridProgrammaticExpand.java [new file with mode: 0644]
uitest/src/test/java/com/vaadin/tests/components/treegrid/TreeGridProgrammaticExpandTest.java [new file with mode: 0644]