diff options
author | Anastasia Smirnova <anasmi@utu.fi> | 2018-03-05 23:26:18 -1200 |
---|---|---|
committer | Ilia Motornyi <elmot@vaadin.com> | 2018-03-06 14:26:18 +0300 |
commit | e597d0cfe47d5d8e18d1ceeae2f1ea8b9e711efb (patch) | |
tree | 3e54de2399830daa56bdb4478e93902b45a808a7 | |
parent | 46e0c06fe758b109f62edda7d4665fc21417759c (diff) | |
download | vaadin-framework-e597d0cfe47d5d8e18d1ceeae2f1ea8b9e711efb.tar.gz vaadin-framework-e597d0cfe47d5d8e18d1ceeae2f1ea8b9e711efb.zip |
Update components-grid.asciidoc
-rw-r--r-- | documentation/components/components-grid.asciidoc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/documentation/components/components-grid.asciidoc b/documentation/components/components-grid.asciidoc index 0af752287d..74d196cf28 100644 --- a/documentation/components/components-grid.asciidoc +++ b/documentation/components/components-grid.asciidoc @@ -198,7 +198,7 @@ access to [classname]#MultiSelectionEvent#, which allows to easily access differ [source, java] ---- // Grid in multi-selection mode -Grid<Person> grid = Grid<>() +Grid<Person> grid = new Grid<>() grid.setItems(people); MultiSelectionModel<Person> selectionModel = (MultiSelectionModel<Person>) grid.setSelectionMode(SelectionMode.MULTI); |