table-insert

Type: Operation

Insert a new table with the given number of rows and columns.

Insert a table with the dimensions set in the operation data. This will insert the table at the cursor position.

If the table should be inserted elsewhere, consider using XQuery.

Label

Table

Tooltip

Insert a table.

Icon

table

Imported operation data

  1. rows=1

    (Optional)

    Type: Number

    The number of rows to create for the new table

  2. columns=1

    (Optional)

    Type: Number

    The number of columns to create for the new table

  3. childNodeStructure

    (Required)

    Type: JsonML

    A minimal structure representative of the table to insert. This is used to select an appropriate configuration, as defined by a call to one of the configureAs*TableElements functions provided by specific table add-ons. This does not need to be a valid table, but should include at least the root element.

  4. hasHeader=true

    (Optional)

    Type: Boolean

    Whether the created table has a header (if supported by the table model).