<cell>

<cell> is a Sectional component. It is the smallest element of a <tabular> block of text or data inside a <table>.

Attributes and Properties

Attributes for <cell>
AttributeTypeValues
bottom = "…"text
colNum = "…"text
colSpan = "…"integer
halign = "…"text
prefill = "…"text
right = "…"text
rowNum = "…"text
Props for <cell name="c">
PropertyType
$c.bottomtext
$c.colNumtext
$c.colSpaninteger
$c.disabledboolean
$c.fixedboolean
$c.fixLocationboolean
$c.haligntext
$c.hiddenboolean
$c.inHeaderboolean
$c.mathmath
$c.numbernumber
$c.prefilltext
$c.righttext
$c.rowNumtext
$c.texttext

Example: <cell> inside a <table>

Each <cell> component defines a single entry in the <table>.


Attribute Example: colSpan

The colSpan attribute allows a single <cell> to span across multiple columns. This attribute can also be used across all rows to create visually wider “columns” within a table.


Attribute Example: hAlign

The hAlign attribute governs the horizontal alignment of content within the <cell>. The default horizontal alignment is left.


Attribute Example: bottom

The bottom attribute specifies a bounding line at the bottom of the <cell>.


Attribute Example: right

The right attribute specifies a bounding line at the right edge of the <cell>.


Attribute Example: prefill

The prefill attribute provides another way to specify content within the cell.


Property Example: Attributes as properties

All of the attributes available to the <cell> component can also be accessed as properties.


Property Example: inHeader

The inHeader property returns the boolean value corresponding to whether the <cell> occurs within a header <row>.


Property Example: text

The text property returns the text value stored within the <cell>.


Property Example: math

The math property returns the math value stored within the <cell>.


Property Example: number

The number property returns the numerical value stored within the <cell>.