summaryrefslogtreecommitdiffstats
path: root/server
diff options
context:
space:
mode:
authorHenrik Paul <henrik@vaadin.com>2015-03-30 15:28:41 +0300
committerVaadin Code Review <review@vaadin.com>2015-03-31 11:00:53 +0000
commit2080f86e03552c56d52f488e4dcd72282cd64f62 (patch)
tree088f49e449a52b69450dca5ecd3c5f36f000d8ea /server
parent3eb8110f13d51a859d40da9dfcb9ae2edb890f8c (diff)
downloadvaadin-framework-2080f86e03552c56d52f488e4dcd72282cd64f62.tar.gz
vaadin-framework-2080f86e03552c56d52f488e4dcd72282cd64f62.zip
Server Grid.scrollToRow takes details into account (#17270)
Change-Id: I7b6d67aeb4d625a53e6fe370b729016a84e33214
Diffstat (limited to 'server')
-rw-r--r--server/src/com/vaadin/ui/Grid.java7
1 files changed, 7 insertions, 0 deletions
diff --git a/server/src/com/vaadin/ui/Grid.java b/server/src/com/vaadin/ui/Grid.java
index 69fbb41fc2..2cb7ab352a 100644
--- a/server/src/com/vaadin/ui/Grid.java
+++ b/server/src/com/vaadin/ui/Grid.java
@@ -250,6 +250,7 @@ public class Grid extends AbstractComponent implements SelectionNotifier,
*
* @since 7.5.0
* @author Vaadin Ltd
+ * @see DetailsGenerator#NULL
*/
public interface DetailsGenerator extends Serializable {
@@ -3968,6 +3969,9 @@ public class Grid extends AbstractComponent implements SelectionNotifier,
/**
* Scrolls to a certain item, using {@link ScrollDestination#ANY}.
+ * <p>
+ * If the item has visible details, its size will also be taken into
+ * account.
*
* @param itemId
* id of item to scroll to.
@@ -3980,6 +3984,9 @@ public class Grid extends AbstractComponent implements SelectionNotifier,
/**
* Scrolls to a certain item, using user-specified scroll destination.
+ * <p>
+ * If the item has visible details, its size will also be taken into
+ * account.
*
* @param itemId
* id of item to scroll to.