YOU ARE VIEWING DOCUMENTATION FOR ioL v.1. Click here for documentation for older v.0.9x versions of ioL.
ioL

Programming manual (doc.iol.science)



<tr>

Defines a table row within a table tag. This tag should contain table data, td tags only, which will then be rendered on the screen as cells within the table grid.

This tag must only be placed within the default field of a table tag, otherwise undefined behaviour results.

Note that dynamic rendering of table content can produce suboptimal rendering performance. For best results, hide the entire table by setting the table's visible field to false, then set the field to true to show the table once all the table rows within are fully defined.

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

This tag's default field should be assigned td tags corresponding to each table cell in the table row.