Skip to content

Commit d7cc6a4

Browse files
Felipe Langjavier-godoy
authored andcommitted
fix: refresh available and selection grid items on orientation change
Close #117
1 parent b4abb41 commit d7cc6a4

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/main/java/com/flowingcode/vaadin/addons/twincolgrid/TwinColGrid.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -339,6 +339,8 @@ public TwinColGrid<T> withOrientation(Orientation orientation) {
339339
if (this.orientation != orientation) {
340340
this.orientation = orientation;
341341
updateContainerLayout();
342+
available.grid.getDataProvider().refreshAll();
343+
selection.grid.getDataProvider().refreshAll();
342344
}
343345
return this;
344346
}

0 commit comments

Comments
 (0)