Skip to content

TableEditor.setAlignment method

TableEditor › setAlignment

Unofficial

Set the alignment of columns.

Signature:

setAlignment(cols: number[], alignment: "end" | "start" | "center"): void

Parameters:

ParameterTypeDescription
colsnumber[]Column indices to align.
alignment"end" | "start" | "center"The alignment to apply, resolved against the table's text direction.

Returns: void