@squareys/webdecks-sdk - v0.0.0
    Preparing search index...

    Class Table

    A table, addressed by its engine id. Its dimensions are read live from the model, and its cells and styling are reached through Table.cell and the border/width mutators.

    Hierarchy (View Summary)

    Index
    • get isValid(): boolean

      Whether this wrapper still refers to a live engine object.

      Returns boolean

    • set _index(value: number): void

      Parameters

      • value: number

      Returns void

    • get rowCount(): number

      Number of rows in the table (read live from the model).

      Returns number

    • get columnCount(): number

      Number of columns in the table (read live from the model).

      Returns number

    • Reference equality is the identity test — prefer a === b. This is retained only for the rare cross-realm case where two wrappers describe the same handle by value. Reads the raw index so comparing a stale wrapper never throws.

      Parameters

      • other: Handle<unknown> | null

      Returns boolean

    • A readable identity for logs and diagnostics, never [object Object].

      Returns string

    • The cell at (row, column), or null if out of range.

      Parameters

      • row: number
      • column: number

      Returns TableCell | null

    • Apply a uniform default border to every cell edge.

      Parameters

      • color: number
      • width: number
      • style: number

      Returns this

    • Set the table's overall width as a fraction of the text column, in millionths.

      Parameters

      • fractionE6: number

      Returns this

    • Set a column's width as a fraction of the table width, in millionths.

      Parameters

      • column: number
      • fractionE6: number

      Returns this