瀏覽代碼

Fix HtmlRenderer code example in documentation (#10790)

tags/8.4.0.alpha2^0
Boppleton Industries 6 年之前
父節點
當前提交
fbebef3e7b
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. 1
    1
      documentation/components/components-grid.asciidoc

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

Loading…
取消
儲存