YOU ARE VIEWING ARCHIVAL DOCUMENTATION FOR ioL VERSIONS 0.9x. Go to doc.iol.science for the latest version.
ioL

Programming manual (doc0.iol.science)



<table>

Defines a tabluar presentation of data on the screen. A table provides a grid of table cells, arranged into rows and columns.

Because tables adjust dynamically to fix their contents, larger tables can often be slower to render if rows and cells are added while they are visible on the screen.
To enhance rendering performance, you can set the table's visible field in order to hide the table until you have filled its contents — thus the table only needs to be rendered once instead of many times.

Example table

This example shows how to use tr and td tags within a table tag to create a simple table layout on the screen, used to track scores at a volleyball tournament. The output is shown below.


<table
  <tr bold=true  <!first row of table!>
    <td {Player}> 
    <td {Score}>
  >
  <tr  <!second row of table!>
    <td {Curie}>
    <td 21>
  >
  <tr  <!third row...!>
    <td {Newton}>
    <td 25>
  >
  <tr  <!... etc !>
    <td {Lovelace}>
    <td 20>
  >
  <tr 
    <td {Shannon}>
    <td 24>
  >
>

Player Score
Curie 21
Newton 25
Lovelace 20
Shannon 24

Fields

The default field should be assigned as many <tr> tags as there are rows in the table, and these should then contain <td> tags corresponding to each table data cell in the tabular grid.

Additionally, the following named fields can be defined on this tag. Please refer to the field reference section of this site for details on each field.