From 1f878089dec6c03090efbcc79b08edbfbffb7620 Mon Sep 17 00:00:00 2001 From: Henri Sara Date: Fri, 11 Aug 2017 16:04:59 +0300 Subject: Update components-grid.asciidoc (#9813) Updates related to #9810 --- documentation/components/components-grid.asciidoc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'documentation') 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 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 -- cgit v1.2.3