Переглянути джерело

Fix HtmlRenderer code example in documentation (#10790)

tags/8.4.0.alpha2^0
Boppleton Industries 6 роки тому
джерело
коміт
fbebef3e7b

+ 1
- 1
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());
----

Завантаження…
Відмінити
Зберегти