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

Popular Successors

  • Table Row to Variable8 %
  • Generic JavaScript View3 %
  • Send Email3 %
  • IF Switch2 %
  • Table To Image2 %
  • HTML Parser2 %
  • Loop End2 %
  • Concatenate (Optional in) (deprecated)2 %
  • Column Filter2 %
  • Wait...1 %
  • Table Row to Variable (deprecated)1 %
  • Python Script (1⇒1)1 %
  • R Snippet1 %
  • XPath1 %
  • Variable to Table Column1 %
  • Table Column to Variable1 %
  • CSV Writer (deprecated)1 %
  • CSV Writer1 %
  • Table Creator1 %
  • Java Snippet1 %
  • Loop End (2 ports)1 %
  • Loop End1 %
  • Table Row To Variable Loop Start1 %
  • Concatenate1 %
  • Cross Joiner1 %
  • Table Validator1 %
  • Table Manipulator1 %
  • Missing Value1 %
  • Column Rename1 %
  • RowID1 %
  • String Manipulation1 %
  • String Manipulation (Variable)1 %
  • Rule Engine Variable1 %
  • Empty Table Switch1 %
  • End IF1 %
  • Extract Table Spec1 %
  • Merge Variables1 %
  • Column Expressions1 %
  • Variable Expressions1 %
  • Table to HTML1 %
  • Excel Writer (XLS)1 %
  • Excel Writer1 %
  • CSS Editor1 %
  • Table View1 %
  • Python Script (legacy)1 %
  • Python Edit Variable1 %
  • Python Script1 %
  • Python View1 %
  • String To XML1 %
  • Table to HTML String1 %
  • HTML Node to Text1 %
  • Table Column to Variable (deprecated)< 1 %
  • Column Appender< 1 %
  • Rule Engine< 1 %
  • Merge Variables< 1 %
  • Data to Report< 1 %
  • Table Viewer< 1 %
  • Active Branch Inverter< 1 %
  • Table Column to Variable< 1 %
  • Variable Creator< 1 %
  • Table Row To Variable Loop Start< 1 %
  • Constant Value Column< 1 %
  • Sorter< 1 %
  • Renderer to Image< 1 %
  • Table to PDF< 1 %
  • Date&Time Input< 1 %
  • Table Column to Variable (deprecated)< 1 %
  • Add Empty Rows< 1 %
  • Ungroup< 1 %
  • CASE Switch Data (End)< 1 %
  • StringCell To File< 1 %
  • Clean HTML Retriever< 1 %
  • W3C Html Validator< 1 %
  • Message Slack channel (row based)< 1 %
  • Flow Variable IF Switch (Flow Variable Value)< 1 %
  • URL to File Path< 1 %
  • Try (Variable Ports)< 1 %
  • Extract Variables (Data)< 1 %
  • Inject Variables (Data)< 1 %
  • Table Row to Variable (deprecated)< 1 %
  • Table Row To Variable Loop Start< 1 %
  • Table Writer< 1 %
  • List Files (deprecated)< 1 %
  • Table Writer< 1 %
  • Java Edit Variable< 1 %
  • Variable Loop End< 1 %
  • Column Rename (Regex)< 1 %
  • Column Resorter< 1 %
  • Row Filter< 1 %
  • GroupBy< 1 %
  • Joiner< 1 %
  • Round Double< 1 %
  • String Replacer< 1 %
  • String Replace (Dictionary)< 1 %
  • Transpose< 1 %
  • CASE Switch Data (Start)< 1 %
  • Interactive Table (local)< 1 %
  • Component Output< 1 %
  • Table to HTML< 1 %
  • Histogram Chart (JFreeChart)< 1 %
  • Excel Sheet Appender (XLS)< 1 %
  • Excel Sheet Appender (XLS) (deprecated)< 1 %
  • Java Edit Variable (simple)< 1 %
  • Document Viewer< 1 %
  • Text Output Widget< 1 %
  • Column Selection Widget< 1 %
  • Container Output (Table)< 1 %
  • JSON to Table< 1 %
  • Python Object Reader< 1 %
  • POST Request< 1 %
  • Webpage Retriever< 1 %
  • Column To XML< 1 %
  • Regex Extractor< 1 %
  • Extract Outer/InnerHTML< 1 %
  • Extract Text< 1 %

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.