aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--documentation/components/components-grid.asciidoc2
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);