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

Drawing / Reference

alerta.table.cell_set_text_formatting

TradingView-compatible spelling: table.cell_set_text_formatting, runs without warnings

Pine v6: apply bold/italic formatting to a cell. Combine with + (e.g. text.format_bold + text.format_italic).

alerta.table.cell_set_text_formatting(table_id, column, row, text_formatting) → void

Parameters

NameTypeRequiredDefaultDescription
table_idtableYes—Table handle.
columnintYes—Cell column.
rowintYes—Cell row.
text_formattingstringYes—text.format_none | text.format_bold | text.format_italic.

Returns

void

Example

alerta.table.cell_set_text_formatting
var t = table.new("top_right", 1, 1)table.cell(t, 0, 0, "PnL")table.cell_set_text_formatting(t, 0, 0, text.format_bold)

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.