A collection of hidden [[WorksheetColumn]] instances.
Constructors
Section titled "Constructors"HiddenColumnCollection
new HiddenColumnCollection(a: Worksheet, b: CustomView): HiddenColumnCollection Returns HiddenColumnCollection
Properties
Section titled "Properties"$t: Type Accessors
Section titled "Accessors"count
Section titled "count"Gets the number of columns in the collection. The number of columns in the collection.
get count(): number Returns number
worksheet
Section titled "worksheet"Gets the worksheet associated with this collection. The worksheet associated with this collection.
get worksheet(): Worksheet Returns Worksheet
Methods
Section titled "Methods"add_1
Section titled "add_1"Adds a column to the collection.
add_1(column: WorksheetColumn): void Parameters
- column:
WorksheetColumnThe column to be added to the hidden columns collection.
Returns void
clear
Section titled "clear"Clears all columns from the collection.
clear(): void Returns void
contains
Section titled "contains"Determines whether the specified column exists in the collection.
contains(column: WorksheetColumn): boolean Parameters
- column:
WorksheetColumnThe column to search for in the collection.
Returns boolean
getEnumerator
Section titled "getEnumerator"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
remove_1
Section titled "remove_1"Removes the specified column from the collection if it exists.
remove_1(column: WorksheetColumn): boolean Parameters
- column:
WorksheetColumnThe column to removed from the collection.
Returns boolean
removeAt
Section titled "removeAt"Removes the column at the specified index in the collection.
removeAt(index: number): void Parameters
- index:
numberThe zero-based index of the column in the collection.