Class WorksheetTableColumnCollection

A read-only collection of all WorksheetTableColumn instances which exist in a WorksheetTable.

See

WorksheetTable.columns

Hierarchy

Hierarchy

  • Base
    • WorksheetTableColumnCollection

Implements

Constructors

Properties

$type: Type
$t: Type
nextHashCode: number

Accessors

  • get count(): number
  • Gets the number of WorksheetTableColumn instances in the collection. The number of columns in the collection.

    Returns number

Methods

  • Parameters

    • other: any

    Returns boolean

  • Returns number

  • Gets the index of the specified WorksheetTableColumn in the collection.

    Returns

    The 0-based index of the specified WorksheetTableColumn in the collection or -1 if the item is not in the collection.

    Parameters

    Returns number

  • Gets the WorksheetTableColumn at the specified index.

    Throws

    ArgumentOutOfRangeException 'index' is less than 0 or greater than or equal to the number of columns in the collection.

    Returns

    The WorksheetTableColumn at the specified index.

    Parameters

    • index: number

      The 0-based index of the column to get.

    Returns WorksheetTableColumn

  • Gets the WorksheetTableColumn with the specified name or null if it doesn't exist.

    Column names are compared case-insensitively.

    Returns

    The WorksheetTableColumn with the specified name or null a column with the specified name doesn't exist.

    See

    WorksheetTableColumn.name

    Parameters

    • name: string

      The name of the column to get.

    Returns WorksheetTableColumn

  • Parameters

    • item1: any
    • item2: any

    Returns number

  • Parameters

    • item1: any
    • item2: any

    Returns number

  • Parameters

    • item1: any
    • item2: any

    Returns boolean

  • Parameters

    • a: any
    • b: any

    Returns boolean

  • Parameters

    • obj: any

    Returns any[]

  • Parameters

    • obj: any

    Returns any[]

  • Parameters

    • obj: any

    Returns number

  • Parameters

    • a: any
    • b: any

    Returns boolean