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

components-grid to use correct function setHidable (#8843)

* components-grid to use correct function setHidable

The correct function to use in Vaadin 8 (also before) is setHidable()
https://vaadin.com/api/8.0.0/com/vaadin/ui/Grid.Column.html#setHidable-boolean-
For 7.7.7:
https://vaadin.com/api/7.7.7/com/vaadin/ui/Grid.Column.html#setHidable-boolean-
tags/8.1.0.alpha1
Michael Benz 7 лет назад
Родитель
Сommit
7a8396055b
1 измененных файлов: 2 добавлений и 2 удалений
  1. 2
    2
      documentation/components/components-grid.asciidoc

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

@@ -310,8 +310,8 @@ the [methodname]#removeColumn()#, as described later.
=== Hiding and Removing Columns

Columns can be hidden by calling [methodname]#setHidden()# in [classname]#Column#.
Furthermore, you can set the columns user hideable using method
[methodname]#setHideable()#.
Furthermore, you can set the columns user hidable using method
[methodname]#setHidable()#.

Columns can be removed with [methodname]#removeColumn()# and
[methodname]#removeAllColumns()#. To restore a previously removed column,

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