Difference between revisions of "HTML Table Writer"

From PresenceWiki
Jump to: navigation, search
 
(HTML Table Writer)
Line 2: Line 2:
  
 
The HTML Table Writer node outputs the current Presence Context data as an HTML table.
 
The HTML Table Writer node outputs the current Presence Context data as an HTML table.
 +
 +
For example, the following Data Table:
 +
 +
{| border="1" cellspacing="0" cellpadding="5" align="center"
 +
! AREA
 +
! ID
 +
! NAME
 +
|-
 +
| London
 +
| 1
 +
| Basil Prescott
 +
|-
 +
| Florida
 +
| 2
 +
| Roland "Mac" MacDonald
 +
|-
 +
|}
 +
 +
Would be rendered in HTML which will display as follows:
 +
 +
http://www.international-presence.com/wikidocs/images/html_table_writer_output_1.png
 +
 +
=== Column Selection ===
 +
 +
As with the [[CSV Writer]] and [[Basic XML Writer]] Nodes, the HTML Table Writer allows you to select which columns are included in the output by selecting "Manually choose columns to include" in the editor dialog. This will present the following options pane:
 +
 +
http://www.international-presence.com/wikidocs/images/table_writer_columns_1.png
 +
 +
Click on the checkboxes next to the Column Names to include them in the outputted HTML.
 +
 +
You can also include the order that columns are presented and the sort order of rows by clicking on the "Column Order" or "Row Order" tabs.
 +
  
  
 
See also: [[CSV Writer]] Node
 
See also: [[CSV Writer]] Node

Revision as of 06:10, 14 April 2010

HTML Table Writer

The HTML Table Writer node outputs the current Presence Context data as an HTML table.

For example, the following Data Table:

AREA ID NAME
London 1 Basil Prescott
Florida 2 Roland "Mac" MacDonald

Would be rendered in HTML which will display as follows:

http://www.international-presence.com/wikidocs/images/html_table_writer_output_1.png

Column Selection

As with the CSV Writer and Basic XML Writer Nodes, the HTML Table Writer allows you to select which columns are included in the output by selecting "Manually choose columns to include" in the editor dialog. This will present the following options pane:

http://www.international-presence.com/wikidocs/images/table_writer_columns_1.png

Click on the checkboxes next to the Column Names to include them in the outputted HTML.

You can also include the order that columns are presented and the sort order of rows by clicking on the "Column Order" or "Row Order" tabs.


See also: CSV Writer Node