class Axlsx::Table

Worksheet#add_table is the recommended way to create tables for your worksheets.


Creates a new Table object


  • ref (String)

    The reference to the table data like 'A1:G24'.

  • sheet (Worksheet)

    The sheet containing the table data.

  • options (Hash) (defaults to: {})

    a customizable set of options

Options Hash (options):

  • name (Cell, String)
  • style (TableStyle)


  • (_self)

Yield Parameters:

  • _self (Axlsx::Table)

    the object that the method was called on

get the header cells (hackish)

The index of this chart in the workbooks charts collection

The name of the table.

The part name for this table

The reference to the table data

The relationship id for this table.

The style for the table.

TableStyleInfo for the table. initialization can be fed via the :style_info option

Serializes the object


  • str (String) (defaults to: '')

Table is referenced in 0 repositories