Height

Specifies the number of rows a field should span.

Examples
Copy
var myBlock = CRM.GetBlock("CompanyBoxShort");
myEntryBlock = myBlock.GetEntry("comp_type");
myEntryBlock.Height = "2";
myEntryBlock.Width = "4";

Sets the height of the comp_type field to two rows. This code generates HTML similar to the following:

Copy
<td colspan="4" valign="TOP" rowspan="2">
<span id="_Captcomp_type" class="VIEWBOXCAPTION">
Type:
</span>
<br>
<span id="_Datacomp_type" class="VIEWBOX style='WIDTH:100px;'>
Prospect&nbsp;
</span>
</td>