StyleCode Property: columnPrepend
columnPrepend
Specifies whether a cell should be prepended at the top of a column, and the contents of that cell.
Applies to | Type | Default |
---|---|---|
table > column > prepend |
Text | "" |
Examples
// Example: table > column > prepend
table Orders = with
[| as Date, as Quantity |]
[| date(2023,02,21), 150 |]
[| date(2023,02,22), 250 |]
show table "My Table" a1c4 with
Orders.Date { prepend { columnPrepend: "prepended content" } }
Orders.Quantity
Details
If any column in a table has a non-empty columnPrepend
, an additional
line is prepended at the top of the table (right under the header cells).
All columns with a non-empty columnPrepend
will have the provided value
appear on that line, formatted according to the StyleCode rules of the column.