tbody

Purpose

Container for a table body rows.

Note:

The use of the pane attribute is deprecated.

Contains

Contained by

Attribute groups

Attribute

Attribute Description Type Default Options Use
keepTogether Whether or not to keep the rows in the body together when dissecting panes xs:boolean false    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