Переглянути джерело

Added Note about TextField in Header cell (#11858)

Fixes https://github.com/vaadin/framework/issues/9089
tags/8.10.0.beta1
Tatu Lund 4 роки тому
джерело
коміт
f8ffc894b6

+ 7
- 0
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]]

Завантаження…
Відмінити
Зберегти