Skip to content
AlertaChartAlertaScript / docs
AlertaScript / alerta.table.cell_set_text_halign
On this pageSignatureParametersReturnsExample

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) → void

Parameters

NameTypeRequiredDefaultDescription
table_idstringYes—ID of the table.
columnintYes—Column index (0-based).
rowintYes—Row index (0-based).
text_halignstringYes—"left", "center", or "right".

Returns

void

Example

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.

AlertaScript

No results found.

Search by name, alias, or keyword.