diff options
author | Teemu Suo-Anttila <tsuoanttila@users.noreply.github.com> | 2017-08-01 11:01:11 +0300 |
---|---|---|
committer | Henri Sara <henri.sara@gmail.com> | 2017-08-01 11:01:11 +0300 |
commit | 95087a8482c0271a2d01881bc560d9b28600617d (patch) | |
tree | c2af5f77285cc807661cb61fdbb01d84995518fd /client | |
parent | 921cd76504ed3045492b69285b8100fecb842abd (diff) | |
download | vaadin-framework-95087a8482c0271a2d01881bc560d9b28600617d.tar.gz vaadin-framework-95087a8482c0271a2d01881bc560d9b28600617d.zip |
Add API for forcing Grid column width calculation (#9756)
This feature was present in Vaadin 7 but missing from Vaadin 8
Diffstat (limited to 'client')
-rw-r--r-- | client/src/main/java/com/vaadin/client/connectors/grid/GridConnector.java | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/client/src/main/java/com/vaadin/client/connectors/grid/GridConnector.java b/client/src/main/java/com/vaadin/client/connectors/grid/GridConnector.java index e94493757e..34913910cb 100644 --- a/client/src/main/java/com/vaadin/client/connectors/grid/GridConnector.java +++ b/client/src/main/java/com/vaadin/client/connectors/grid/GridConnector.java @@ -241,6 +241,11 @@ public class GridConnector extends AbstractListingConnector } }); } + + @Override + public void recalculateColumnWidths() { + getWidget().recalculateColumnWidths(); + } }); getWidget().addSortHandler(this::handleSortEvent); |