A collection of hidden [[WorksheetColumn]] instances.

HiddenColumnCollection

new HiddenColumnCollection(a: Worksheet, b: CustomView): HiddenColumnCollection

Returns HiddenColumnCollection

$t: Type

Gets the number of columns in the collection. The number of columns in the collection.

get count(): number

Returns number

Gets the worksheet associated with this collection. The worksheet associated with this collection.

get worksheet(): Worksheet

Returns Worksheet

Adds a column to the collection.

add_1(column: WorksheetColumn): void

Parameters

  • column: WorksheetColumn

    The column to be added to the hidden columns collection.

Returns void

Clears all columns from the collection.

clear(): void

Returns void

Determines whether the specified column exists in the collection.

contains(column: WorksheetColumn): boolean

Parameters

Returns boolean

getEnumerator(): IEnumerator$1<WorksheetColumn>

Returns IEnumerator$1<WorksheetColumn>

Gets the column at the specified index. The column at the specified index.

item(a: number): WorksheetColumn

Parameters

  • a: number

Returns WorksheetColumn

Removes the specified column from the collection if it exists.

remove_1(column: WorksheetColumn): boolean

Parameters

Returns boolean

Removes the column at the specified index in the collection.

removeAt(index: number): void

Parameters

  • index: number

    The zero-based index of the column in the collection.

Returns void