w:cantSplit (Prevent Row Split)

Prevents the table row from being split across a page break.

Parent elements

Description

w:cantSplit prevents the table row from being split across a page boundary. It is an on/off toggle property defined in ECMA-376 Part 1 §17.4.6.

When present on a row, the row is kept together on a single page. If the row is taller than the available page height, the constraint is relaxed and the row splits normally.

Attributes

Attribute Type Possible Values Description
w:val ST_OnOff true, 1, on (row cannot split) / false, 0, off (row can split). Omitting the attribute is equivalent to true. Toggles row-split prevention.

Examples

<w:trPr>
  <w:cantSplit/>
</w:trPr>