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

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)