diff options
Diffstat (limited to 'documentation/components/components-grid.asciidoc')
-rw-r--r-- | documentation/components/components-grid.asciidoc | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/documentation/components/components-grid.asciidoc b/documentation/components/components-grid.asciidoc index 32d47097f7..77b44ebf0e 100644 --- a/documentation/components/components-grid.asciidoc +++ b/documentation/components/components-grid.asciidoc @@ -721,6 +721,13 @@ yearsCell.setHtml("<b>Years</b>"); You can set a component in a header or footer cell with [methodname]#setComponent()#. Often, this feature is used to allow filtering. +[NOTE] +==== +Note, when you use [methodname]#setComponent(TextField)#, the [classname]#TextField# will be rendered in compact mode +without caption and icon. If you need to override this behavior, you need to wrap the [classname]#TextField# e.g. +into [classname]#HorizontalLayout#. +==== + //// // commented out until filtering is sorted for 8 [[components.grid.filtering]] |