Table to HTML String

KNIME is able to render HTML in the String renderer. Converts the input table into an a single HTML String which can then be rendered in an HTML viewer. This string could for example be used in the email node, or added into another table for visualisation of small tables in a single cell.

The rendered HTMl will also be added as a flow variable "html-content" which can be accessed using the flow variable port.

For use in emails PNG Cells can now also be selected for addition to the HTML table. In the cell containing an image an image tag will be created with 'cid:image-{row-index}' as the identifier for the image. For the image to render then the images column must have it's values added to the email as embedded attachments using the same naming scheme of image-{array-index} as the Content-ID value. The images will not render within the KNIME table preview. More information may be seen here.

Options

Number of rows
The maximum number of rows to add to the HTML table. Further rows are dropped.
Include RowID
Should a column be added for the RowID
Format double
When true uses the DecimalFormater to format the double. An example default value is given.
Decimal format string
The string to use for double formatting when "Format double" is true
Column selection
Which columns should be added to the table. Must implement IntValue, DoubleValue or StringValue
Add basic style
Adds some basic inline CSS styles to the table. Black header row with white text, alternating white and grey row backgrounds and grey cell borders. This will render nicer in email but poorly in KNIME tables. The CSS styles used can be updated on the Styles tab
table style
CSS inline styles for the table HTML tag
tr style (header)
CSS inline styles for the tr HTML tag in the table header
All row tr style
CSS inline styles for the tr HTML tag in the data rows (all non header rows)
Even row additional tr style
Additional CSS inline styles to append to the tr tag for even rows
Odd row additional tr style
Additional CSS inline styles to append to the tr tag for odd rows
td style
CSS inline styles for the td HTML tag (data cells)
td style (Missing cells)
The CSS inline styles to add to missing cells

Input Ports

Icon
The table to convert to an HTML

Output Ports

Icon
The HTML string

Popular Predecessors

  • CSV Writer4 %
  • Excel Writer2 %
  • Joiner2 %
  • CSV Writer2 %
  • Empty Table Switch2 %
  • Column Filter2 %
  • Column Rename2 %
  • Sorter2 %
  • String Manipulation2 %
  • Row Filter1 %
  • Column Rename (Regex)1 %
  • Webpage Retriever1 %
  • Java Snippet1 %
  • Column Splitter1 %
  • End IF1 %
  • String to Date&Time1 %
  • Case Converter1 %
  • GroupBy< 1 %
  • GET Request< 1 %
  • Image Writer (Table)< 1 %
  • Duplicate Row Filter< 1 %
  • Joiner< 1 %
  • String Manipulation (Variable)< 1 %
  • CASE Switch Data (Start)< 1 %
  • Column Expressions< 1 %
  • Send Email< 1 %
  • DB Reader< 1 %
  • Value Counter< 1 %
  • Column Renamer< 1 %
  • Wait...< 1 %
  • Image To Table< 1 %
  • Read Images< 1 %
  • Table Creator< 1 %
  • Group Loop Start< 1 %
  • Concatenate< 1 %
  • Number To String< 1 %
  • String To Number< 1 %
  • Column Resorter< 1 %
  • Constant Value Column< 1 %
  • Missing Value Column Filter< 1 %
  • Pivoting< 1 %
  • Missing Value< 1 %
  • Round Double< 1 %
  • RowID< 1 %
  • String Manipulation (Multi Column)< 1 %
  • Renderer to Image< 1 %
  • Rule-based Row Filter< 1 %
  • Rule-based Row Splitter< 1 %
  • IF Switch< 1 %
  • Color Manager< 1 %
  • Table View< 1 %
  • Date&Time to String< 1 %
  • Table Row to Variable< 1 %
  • Variable to Table Row< 1 %
  • CSV Reader< 1 %
  • Table Reader< 1 %
  • Variable Loop End< 1 %
  • Column Appender< 1 %
  • Extract Column Header< 1 %
  • Column to Grid< 1 %
  • Double To Integer< 1 %
  • Row Splitter< 1 %
  • Table Manipulator< 1 %
  • Missing Value (Apply)< 1 %
  • String Replacer< 1 %
  • Top k Selector< 1 %
  • Transpose< 1 %
  • Rule Engine< 1 %
  • Extract Table Spec< 1 %
  • DB Query Reader< 1 %
  • Math Formula< 1 %
  • Math Formula (Multi Column)< 1 %
  • Excel Reader< 1 %
  • CSS Editor< 1 %
  • Bar Chart< 1 %
  • Database Update (legacy)< 1 %
  • Tile View< 1 %
  • Date&Time-based Row Filter< 1 %
  • Loop End< 1 %
  • Column Aggregator< 1 %
  • R to Table< 1 %
  • Row to Column Header< 1 %
  • Table to HTML String< 1 %
  • Variable to Table Column< 1 %
  • Table Validator< 1 %
  • Bar Chart (JFreeChart)< 1 %
  • JSON To XML< 1 %
  • Cross Joiner< 1 %
  • Table Row to Variable< 1 %
  • Insert Column Header< 1 %
  • Merge Variables< 1 %
  • PMML To Cell< 1 %
  • Table Editor< 1 %
  • Data to Report< 1 %
  • Reference Row Splitter< 1 %
  • Column Filter< 1 %
  • Duration to String< 1 %
  • Table Column to Variable< 1 %
  • CSV Reader< 1 %
  • Reference Row Filter< 1 %
  • Python Script (1⇒1)< 1 %
  • Table Column to Variable< 1 %
  • Image Writer (Port)< 1 %
  • File Reader< 1 %
  • Column Auto Type Cast< 1 %
  • Parameterized DB Query Reader< 1 %
  • Excel Writer (XLS)< 1 %
  • Column Filter Configuration< 1 %
  • External Tool< 1 %
  • Date&Time to legacy Date&Time< 1 %
  • Legacy Date&Time to Date&Time< 1 %
  • Files to Binary Objects< 1 %
  • Table Reader< 1 %
  • Loop End< 1 %
  • Cell Splitter< 1 %
  • Number To String (PMML)< 1 %
  • Row Sampling< 1 %
  • Merge Variables< 1 %
  • Timer Info< 1 %
  • Date&Time Difference< 1 %
  • Variable to Table Row< 1 %
  • Image Writer (Port)< 1 %
  • Database Connection Table Reader (legacy)< 1 %
  • Database Reader< 1 %
  • Category To Number< 1 %
  • Column Appender< 1 %
  • Column Merger< 1 %
  • Filter Apply< 1 %
  • Row Filter (Labs)< 1 %
  • Read Excel Sheet Names (XLS)< 1 %
  • Google Sheets Reader< 1 %
  • JSON to Table< 1 %
  • Image Reader< 1 %
  • XSLT< 1 %
  • Binary Scorer< 1 %
  • W3C Html Validator< 1 %
  • Table to String< 1 %
  • Download (legacy)< 1 %
  • PNGs to Binary Objects< 1 %
  • String to URI< 1 %
  • URL to File Path< 1 %
  • Chunk Loop Start< 1 %
  • Table Row To Variable Loop Start< 1 %
  • Rank< 1 %
  • String Replace (Dictionary)< 1 %
  • Ungroup< 1 %
  • Unpivoting< 1 %
  • Data Generator< 1 %
  • Conditional Box Plot (local)< 1 %
  • DB Insert< 1 %
  • Table to HTML< 1 %
  • Create File/Folder Variables< 1 %
  • String to Path (Variable)< 1 %
  • Transfer Files (Table)< 1 %
  • String Configuration< 1 %
  • PNG Image to ImgPlus< 1 %
  • R Source (Table)< 1 %
  • Duration to Number< 1 %

Popular Successors

Views

This node has no views

Workflows

Links

Developers

You want to see the source code for this node? Click the following button and we’ll use our super-powers to find it for you.