Skip to main content

Convert to HTML table

Turn a table into an HTML <table> for an e-mail body or a report; cell text is escaped so it shows as written.

Command in the Data Table toolkit · id ooa.datatable/to_html · 3 inputs (1 required), 1 output

Inputs​

InputTypeRequiredDefaultWhat it is
TableTableYesSource table.
First row is the headerBooleanNotruePut the column names in a header row.
BordersBooleanNotrueDraw thin grey lines around the cells (inline styles, so e-mail programs keep them).

Outputs​

OutputTypeWhat it is
htmlStringThe HTML table.