Tables / Reference
alerta.table.cell_set_width
TradingView-compatible spelling: table.cell_set_width, runs without warnings
Updates width metadata of a table cell.
alerta.table.cell_set_width(table_id, column, row, width) → voidParameters
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
table_id | string | Yes | — | ID of the table. |
column | int | Yes | — | Column index (0-based). |
row | int | Yes | — | Row index (0-based). |
width | int | Yes | — | Cell width. |
Returns
voidExample
alerta.table.cell_set_width
t = table.new("top_right", 1, 1)table.cell(t, 0, 0, "X")table.cell_set_width(t, 0, 0, 120)Names and aliases
Guides and navigation are localized. Built-in reference descriptions and code examples are maintained in English.