[[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