columnVisible(i, [new_order], [visible])

Class: Table.

Description:

Sets or get visibility of a column.

Parameters:

Name Type Default Description

i

number

Index of the column

[new_order]

boolean

false

Should the index be interpreted as a new sorted order index or original order. Default is false.

[visible]

boolean

true to make the column visible, false to hide it.

Returns:

If visible argument is passed, then this Table object is returned, otherwise current visibility value is returned.

Type: boolean | Table