diff options
author | Johannes Dahlström <johannesd@vaadin.com> | 2015-09-29 18:51:36 +0300 |
---|---|---|
committer | Johannes Dahlström <johannesd@vaadin.com> | 2015-10-08 13:23:38 +0300 |
commit | 5eee3acc26ba05d4e3d82d43c1f3e937384d32cb (patch) | |
tree | 05e8f038c3a33c5c79aabed91723f2ffc93dc3f1 /shared | |
parent | ed5b1f2c279c37ba80da179f92fd66a4e43342f9 (diff) | |
download | vaadin-framework-5eee3acc26ba05d4e3d82d43c1f3e937384d32cb.tar.gz vaadin-framework-5eee3acc26ba05d4e3d82d43c1f3e937384d32cb.zip |
Report user-resized column widths to server (#16838)
Change-Id: Id53bab75688ab7f01d6b64f679d2a40e03714c97
Diffstat (limited to 'shared')
-rw-r--r-- | shared/src/com/vaadin/shared/ui/grid/GridServerRpc.java | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/shared/src/com/vaadin/shared/ui/grid/GridServerRpc.java b/shared/src/com/vaadin/shared/ui/grid/GridServerRpc.java index b129cbf051..efcb9427b0 100644 --- a/shared/src/com/vaadin/shared/ui/grid/GridServerRpc.java +++ b/shared/src/com/vaadin/shared/ui/grid/GridServerRpc.java @@ -76,7 +76,7 @@ public interface GridServerRpc extends ServerRpc { List<String> oldColumnOrder); /** - * Informs the server that the column's visibility has been changed. + * Informs the server that a column's visibility has been changed. * * @since 7.5.0 * @param id @@ -89,4 +89,15 @@ public interface GridServerRpc extends ServerRpc { */ void columnVisibilityChanged(String id, boolean hidden, boolean userOriginated); + + /** + * Informs the server that a column has been resized by the user. + * + * @since + * @param id + * the id of the column + * @param pixels + * the new width of the column in pixels + */ + void columnResized(String id, double pixels); } |