summaryrefslogtreecommitdiffstats
path: root/uitest
diff options
context:
space:
mode:
authorJohannes Dahlström <johannesd@vaadin.com>2015-09-29 18:51:36 +0300
committerJohannes Dahlström <johannesd@vaadin.com>2015-10-08 13:23:38 +0300
commit5eee3acc26ba05d4e3d82d43c1f3e937384d32cb (patch)
tree05e8f038c3a33c5c79aabed91723f2ffc93dc3f1 /uitest
parented5b1f2c279c37ba80da179f92fd66a4e43342f9 (diff)
downloadvaadin-framework-5eee3acc26ba05d4e3d82d43c1f3e937384d32cb.tar.gz
vaadin-framework-5eee3acc26ba05d4e3d82d43c1f3e937384d32cb.zip
Report user-resized column widths to server (#16838)
Change-Id: Id53bab75688ab7f01d6b64f679d2a40e03714c97
Diffstat (limited to 'uitest')
-rw-r--r--uitest/src/com/vaadin/tests/components/grid/basicfeatures/GridBasicFeatures.java11
1 files changed, 11 insertions, 0 deletions
diff --git a/uitest/src/com/vaadin/tests/components/grid/basicfeatures/GridBasicFeatures.java b/uitest/src/com/vaadin/tests/components/grid/basicfeatures/GridBasicFeatures.java
index e761df2b20..30cc8a2b13 100644
--- a/uitest/src/com/vaadin/tests/components/grid/basicfeatures/GridBasicFeatures.java
+++ b/uitest/src/com/vaadin/tests/components/grid/basicfeatures/GridBasicFeatures.java
@@ -1201,6 +1201,17 @@ public class GridBasicFeatures extends AbstractComponentTest<Grid> {
}
});
+ createBooleanAction("All columns resizable", "Columns", false,
+ new Command<Grid, Boolean>() {
+
+ @Override
+ public void execute(Grid c, Boolean value, Object data) {
+ for (Column col : grid.getColumns()) {
+ col.setResizable(value);
+ }
+
+ }
+ });
createClickAction("All columns expanding, Col 0 has max width of 30px",
"Columns", new Command<Grid, Boolean>() {