Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface ICellCollection<C>

Collection of Cells.

Type parameters

Hierarchy

Index

Methods

filter

  • filter(filterFunc: function): C[]
  • Filter and return Cells which satisfy the given criteria.

    Parameters

    • filterFunc: function
        • (v: C, i: number, a: C[]): boolean
        • Parameters

          • v: C
          • i: number
          • a: C[]

          Returns boolean

    Returns C[]

getCellById

  • getCellById(cellId: number): C

getCellByRC

  • getCellByRC(rowKey: number, columnKey: number): C
  • Get single Cell by Row and Column Key.

    Parameters

    • rowKey: number
    • columnKey: number

    Returns C

getCells

  • getCells(): C[]

getCellsByColumnKey

  • getCellsByColumnKey(columnKey: number): C[]
  • Get Cells of a Column by the "columnKey"

    Parameters

    • columnKey: number

      The Column-Key that this cell belongs to.

    Returns C[]

getCellsByRowKey

  • getCellsByRowKey(rowKey: number): C[]
  • Get Cells of a Row by the "rowKey"

    Parameters

    • rowKey: number

      The Row-Key that this cell belongs to.

    Returns C[]

Generated using TypeDoc