Tables / Reference
alerta.table.cell_set_text_halign
TradingView-compatible spelling: table.cell_set_text_halign, runs without warnings
Updates horizontal text alignment of a table cell.
alerta.table.cell_set_text_halign(table_id, column, row, text_halign) → 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). |
text_halign | string | Yes | — | "left", "center", or "right". |
Returns
voidExample
alerta.table.cell_set_text_halign
t = table.new("top_right", 1, 1)table.cell(t, 0, 0, "X")table.cell_set_text_halign(t, 0, 0, "right")Names and aliases
Guides and navigation are localized. Built-in reference descriptions and code examples are maintained in English.