summaryrefslogtreecommitdiffstats
path: root/shared
diff options
context:
space:
mode:
Diffstat (limited to 'shared')
-rw-r--r--shared/src/com/vaadin/shared/ui/grid/GridServerRpc.java15
1 files changed, 15 insertions, 0 deletions
diff --git a/shared/src/com/vaadin/shared/ui/grid/GridServerRpc.java b/shared/src/com/vaadin/shared/ui/grid/GridServerRpc.java
index 28f59ea93a..2b2308fe84 100644
--- a/shared/src/com/vaadin/shared/ui/grid/GridServerRpc.java
+++ b/shared/src/com/vaadin/shared/ui/grid/GridServerRpc.java
@@ -76,4 +76,19 @@ public interface GridServerRpc extends ServerRpc {
* @see com.vaadin.ui.Grid#setDetailsVisible(Object, boolean)
*/
void sendDetailsComponents(int fetchId);
+
+ /**
+ * Informs the server that the column's visibility has been changed.
+ *
+ * @since
+ * @param id
+ * the id of the column
+ * @param hidden
+ * <code>true</code> if hidden, <code>false</code> if unhidden
+ * @param userOriginated
+ * <code>true</code> if triggered by user, <code>false</code> if
+ * by code
+ */
+ void columnVisibilityChanged(String id, boolean hidden,
+ boolean userOriginated);
}