Parcourir la source

Added Note about TextField in Header cell (#11858)

Fixes https://github.com/vaadin/framework/issues/9089
tags/8.10.0.beta1
Tatu Lund il y a 4 ans
Parent
révision
f8ffc894b6
1 fichiers modifiés avec 7 ajouts et 0 suppressions
  1. 7
    0
      documentation/components/components-grid.asciidoc

+ 7
- 0
documentation/components/components-grid.asciidoc Voir le fichier

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

Chargement…
Annuler
Enregistrer