Platform SDK: Web Telephony Engine

Associating Header Information with Data Cells

If the WTE is configured to render tables as tabular data, the WTE makes an association between header cells and data cells as follows:

In the absence of header information (HEADERS), the list of header cells associated with a data cell will be found with the following algorithm (assume a left-to-right table):

  1. Search left from the cell's position to find row header cells, and then search upward to find column header cells. The search in a given direction stops when the edge of the table is reached or when a data cell is found after a header cell.
  2. Row headers are inserted into the list in the order they appear in the table. For left-to-right tables, headers are inserted from left to right.
  3. Column headers are inserted after row headers, in the order they appear in the table, from top to bottom.
  4. If a header cell has the HEADERS attribute set, then the headers referenced by this attribute are inserted into the list and the search stops for the current direction.
  5. Table data cells created by the TD element with the AXIS attribute are also treated as header cells. The current version of the WTE does not support the AXIS attribute.