diff options
Diffstat (limited to 'documentation')
-rw-r--r-- | documentation/components/components-grid.asciidoc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/documentation/components/components-grid.asciidoc b/documentation/components/components-grid.asciidoc index 3994ae907c..7ba60ee6e0 100644 --- a/documentation/components/components-grid.asciidoc +++ b/documentation/components/components-grid.asciidoc @@ -586,6 +586,7 @@ the height of all rows in the Grid. + Use [classname]#Button# in [classname]#Grid#: + +[source, java] ---- grid.addComponentColumn(person -> { Button button = new Button("Click me!"); @@ -603,6 +604,7 @@ example on how to achieve this. + Store a [classname]#TextField# with changed value. + +[source, java] ---- Map<Person, TextField> textFields = new HashMap<>(); grid.addColumn(person -> { |