summaryrefslogtreecommitdiffstats
path: root/documentation/components
diff options
context:
space:
mode:
authorHenri Sara <henri.sara@gmail.com>2017-08-11 16:04:59 +0300
committerGitHub <noreply@github.com>2017-08-11 16:04:59 +0300
commit1f878089dec6c03090efbcc79b08edbfbffb7620 (patch)
tree99a30f246285cd879c374f10884e0254071d9831 /documentation/components
parentbda7e54cb6eadddf07fb19d88479c642c4831a66 (diff)
downloadvaadin-framework-1f878089dec6c03090efbcc79b08edbfbffb7620.tar.gz
vaadin-framework-1f878089dec6c03090efbcc79b08edbfbffb7620.zip
Update components-grid.asciidoc (#9813)
Updates related to #9810
Diffstat (limited to 'documentation/components')
-rw-r--r--documentation/components/components-grid.asciidoc4
1 files changed, 2 insertions, 2 deletions
diff --git a/documentation/components/components-grid.asciidoc b/documentation/components/components-grid.asciidoc
index c1d93165a9..b19a89cb26 100644
--- a/documentation/components/components-grid.asciidoc
+++ b/documentation/components/components-grid.asciidoc
@@ -579,7 +579,7 @@ Column<Person, LocalDateTime> bornColumn =
[classname]#ComponentRenderer#:: Renders a Vaadin [classname]#Component# in a column. Since components
are quite complex, the [classname]#ComponentRenderer# comes with possible performance issues.
To use it efficiently you should use as few nested components as possible. If the components used are
-of a different size than the default row height, [methodname]#Grid.setRowHeight()# can be used to adjust
+of a different size than the default row height, [methodname]#Grid.setBodyRowHeight()# can be used to adjust
the height of all rows in the Grid.
+
@@ -593,7 +593,7 @@ grid.addComponentColumn(person -> {
return button;
});
// make sure the buttons fit in the cells of the Grid
-grid.setRowHeight(40);
+grid.setBodyRowHeight(40);
----
+
Components will occasionally be generated again during runtime. If you have a state in your