Trevixal API
    Preparing search index...

    Function setColumnWidth

    • Set the width of the column holding the selection.

      The width goes on every cell in that column, because a column is not a node: HTML carries a column's width on its cells. Passing null clears it.

      The table is also switched to table-layout: fixed, without which the browser treats a cell width as a minimum and widens it to fit content, so setting a width would appear to do nothing.

      Parameters

      • width: string | null

      Returns Command