Просмотр исходного кода

added [source, java] for ComponentRenderer samples (#11428)

tags/8.8.0.beta1
Olli Tietäväinen 5 лет назад
Родитель
Сommit
c5f774f0f1
Аккаунт пользователя с таким Email не найден
1 измененных файлов: 2 добавлений и 0 удалений
  1. 2
    0
      documentation/components/components-grid.asciidoc

+ 2
- 0
documentation/components/components-grid.asciidoc Просмотреть файл

@@ -586,6 +586,7 @@ the height of all rows in the Grid.
+
Use [classname]#Button# in [classname]#Grid#:
+
[source, java]
----
grid.addComponentColumn(person -> {
Button button = new Button("Click me!");
@@ -603,6 +604,7 @@ example on how to achieve this.
+
Store a [classname]#TextField# with changed value.
+
[source, java]
----
Map<Person, TextField> textFields = new HashMap<>();
grid.addColumn(person -> {

Загрузка…
Отмена
Сохранить