table.merge_cells
Merges a block of cells into one: the text and colors of the cell at start_column, start_row fill the whole block. Columns and rows start at 0; the end is included.
table.merge_cells(table_id: table, start_column: int, start_row: int, end_column: int, end_row: int)
Parameters
table_idtable: The table (from table.new).start_columnint: Column of the cell, from 0. Outside the table the script stops with a runtime error.start_rowint: Row of the cell, from 0. Outside the table the script stops with a runtime error.end_columnint: Last column of the block (included).end_rowint: Last row of the block (included).
Example
var t = table.new(position.top_center, 3, 2)
if barstate.islast
table.cell(t, 0, 0, "Session")
table.merge_cells(t, 0, 0, 2, 0)