diff options
author | Boppleton Industries <bots@boppleton.com> | 2018-04-04 15:13:02 -0600 |
---|---|---|
committer | Teemu Suo-Anttila <tsuoanttila@users.noreply.github.com> | 2018-04-05 00:13:02 +0300 |
commit | fbebef3e7b8554d27ad930b6339ee69a3bee5313 (patch) | |
tree | 06cc90d586ad8ba7bccabcf5b5c566dc608fc061 /documentation | |
parent | c797b8cbba82bb5e43031692e39e092fbe9bb7cf (diff) | |
download | vaadin-framework-fbebef3e7b8554d27ad930b6339ee69a3bee5313.tar.gz vaadin-framework-fbebef3e7b8554d27ad930b6339ee69a3bee5313.zip |
Fix HtmlRenderer code example in documentation (#10790)8.4.0.alpha2
Diffstat (limited to 'documentation')
-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()); ---- |