From 7b288aeb663f89bdac8cbf7eb20877681b4b49a6 Mon Sep 17 00:00:00 2001 From: Teemu Suo-Anttila Date: Wed, 19 Jul 2017 09:18:58 +0300 Subject: Add styling for ComponentRenderer wrapper div (#9691) Fixes #9170 --- documentation/components/components-grid.asciidoc | 1 + 1 file changed, 1 insertion(+) (limited to 'documentation/components') diff --git a/documentation/components/components-grid.asciidoc b/documentation/components/components-grid.asciidoc index 1cd231aa82..63f297eddc 100644 --- a/documentation/components/components-grid.asciidoc +++ b/documentation/components/components-grid.asciidoc @@ -621,6 +621,7 @@ grid.addColumn(person -> { }, new ComponentRenderer()); ---- +[classname]#Components# in [classname]#Grid# [classname]#ComponentRenderer# are wrapped in a [literal]#++div++# with the style name [literal]#++component-wrap++#. This can be used to style the alignment and size of the [classname]#Component#. [[components.grid.renderer.custom]] === Custom Renderers -- cgit v1.2.3