diff options
author | Ilia Motornyi <elmot@vaadin.com> | 2018-04-03 11:32:13 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-04-03 11:32:13 +0300 |
commit | 939f6e42133e071c0f999f6ae659c150fa2cd085 (patch) | |
tree | a226c517675aeae07a123ecbed0f3402075ec814 /documentation | |
parent | 1fdeb3f4675d34e63dbba1656368858e9d8026a1 (diff) | |
download | vaadin-framework-939f6e42133e071c0f999f6ae659c150fa2cd085.tar.gz vaadin-framework-939f6e42133e071c0f999f6ae659c150fa2cd085.zip |
Small docs fix (#10749)
Diffstat (limited to 'documentation')
-rw-r--r-- | documentation/components/components-grid.asciidoc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/documentation/components/components-grid.asciidoc b/documentation/components/components-grid.asciidoc index 74d196cf28..898935b4c1 100644 --- a/documentation/components/components-grid.asciidoc +++ b/documentation/components/components-grid.asciidoc @@ -957,9 +957,9 @@ You can style entire rows or individual cells with a [[components.grid.stylegeneration.row]] === Generating Row Styles -You set a [interfacename]#StyleGenerator# to a grid with -[methodname]#setStyleGenerator()#. The [methodname]#getStyle()# method gets a -date item, and should return a style name or [parameter]#null# if +The easiest way to style rows is to make a lambda and set it with +[methodname]#setStyleGenerator()# to a grid. +The lambda gets a data item, and should return a style name or [parameter]#null# if no style is generated. For example, to add a style names to rows having certain values in one |