Browse Source

Added Note about TextField in Header cell (#11858)

Fixes https://github.com/vaadin/framework/issues/9089
tags/8.10.0.beta1
Tatu Lund 4 years ago
parent
commit
f8ffc894b6
1 changed files with 7 additions and 0 deletions
  1. 7
    0
      documentation/components/components-grid.asciidoc

+ 7
- 0
documentation/components/components-grid.asciidoc View File

@@ -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]]

Loading…
Cancel
Save