diff options
-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 898935b4c1..e1e3e716e4 100644 --- a/documentation/components/components-grid.asciidoc +++ b/documentation/components/components-grid.asciidoc @@ -504,7 +504,7 @@ Set the renderer in the [classname]#Grid.Column# object: + [source, java] ---- -Column<Person, String> htmlColumn grid.addColumn(person -> +Column<Person, String> htmlColumn = grid.addColumn(person -> "<a href='" + person.getDetailsUrl() + "' target='_top'>info</a>", new HtmlRenderer()); ---- |