table

Purpose

Container for a table.

Contains

Contained by

Attribute groups

Attribute

Attribute Description Type Default Options Use
cols The number of columns in the table xs:positiveInteger none    optional 

Example

The welcome.mlyt layout can be found in the MCS/repository/xml-repository directory.

<?xml version="1.0" encoding="UTF-8"?>
<canvas layoutName="/welcome.mlyt" pageTitle="table">
  <pane name="background">
    <table cols="2">
      <thead>
        <tr>
          <th>Attribute</th>
          <th>Description</th>
        </tr>
      </thead>
      <tfoot>
        <tr>
          <th>Attribute</th>
          <th>Description</th>
        </tr>
      </tfoot>
      <tbody keepTogether="true">
        <tr>
          <td>layoutName</td>
          <td>Name of the layout to use</td>
        </tr>
      </tbody>
    </table>
  </pane>
</canvas>

Related topics