Sfoglia il codice sorgente

Fix HtmlRenderer code example in documentation (#10790)

tags/8.4.0.alpha2^0
Boppleton Industries 6 anni fa
parent
commit
fbebef3e7b
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1
    1
      documentation/components/components-grid.asciidoc

+ 1
- 1
documentation/components/components-grid.asciidoc Vedi File

@@ -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());
----

Loading…
Annulla
Salva