瀏覽代碼

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 年之前
父節點
當前提交
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,

Loading…
取消
儲存