浏览代码

Small docs fix (#10749)

tags/8.4.0.alpha2
Ilia Motornyi 6 年前
父节点
当前提交
939f6e4213
没有帐户链接到提交者的电子邮件
共有 1 个文件被更改,包括 3 次插入3 次删除
  1. 3
    3
      documentation/components/components-grid.asciidoc

+ 3
- 3
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

正在加载...
取消
保存