summaryrefslogtreecommitdiffstats
path: root/documentation/components/components-grid.asciidoc
diff options
context:
space:
mode:
authorMarko Gronroos <magi@vaadin.com>2016-07-22 19:44:46 +0300
committerArtur Signell <artur@vaadin.com>2016-08-05 10:19:47 +0300
commita7c9ba7e345ba7730e8bdac549773eb0dd750730 (patch)
tree45c1cbc82483d57028a3854507c5f8def226c05b /documentation/components/components-grid.asciidoc
parentd14266fd946e1cfc94b33d30c4b0c8ed78b6b509 (diff)
downloadvaadin-framework-a7c9ba7e345ba7730e8bdac549773eb0dd750730.tar.gz
vaadin-framework-a7c9ba7e345ba7730e8bdac549773eb0dd750730.zip
Revised components diagram (#19897), fixed a fatal bug in Grid section.
Change-Id: I694f173f5a0133336d3325d1b511f40419be07c4
Diffstat (limited to 'documentation/components/components-grid.asciidoc')
-rw-r--r--documentation/components/components-grid.asciidoc10
1 files changed, 5 insertions, 5 deletions
diff --git a/documentation/components/components-grid.asciidoc b/documentation/components/components-grid.asciidoc
index 9dc189919e..285f2772bf 100644
--- a/documentation/components/components-grid.asciidoc
+++ b/documentation/components/components-grid.asciidoc
@@ -255,7 +255,7 @@ grid.addCellClickListener(event ->
The clicked grid cell is also automatically focused.
The focus indication is themed so that the focused cell has a visible focus
-indicator style by default, while the row doesn't. You can enable row focus, as
+indicator style by default, while the row does not. You can enable row focus, as
well as disable cell focus, in a custom theme. See <<components.grid.css>>.
@@ -507,11 +507,10 @@ bornColumn.setRenderer(
+
Optionally, a locale can be given. Otherwise, the default locale (in the
component tree) is used.
-
endif::web[]
-[classname]#HTMLRenderer#:: Renders the cell as HTML. This allows formatting cell content, as well as using
-HTML features such as hyperlinks.
+[classname]#HTMLRenderer#:: Renders the cell as HTML.
+This allows formatting the cell content, as well as using HTML features such as hyperlinks.
ifdef::web[]
+
@@ -523,7 +522,8 @@ Column<String> htmlColumn grid.addColumn(person ->
"<a href='" + person.getDetailsUrl() + "' target='_top'>info</a>");
htmlColumn.setRenderer(new HtmlRenderer());
----
-ifdef::web[]
+endif::web[]
+
[classname]#NumberRenderer#:: Formats column values with a numeric type extending [classname]#Number#:
[classname]#Integer#, [classname]#Double#, etc. The format can be specified
either by the subclasses of [classname]#java.text.NumberFormat#, namely