Table

amx:tableLayout

A Table component is a HTML table that provides basic layout support on a page. This component consists of 3 AMX components that work together to provide formatting.

This component is commonly used on tablets and phones.

Appearance

Appearance characteristics for this component.

Behavior

Common behaviors for this component.

Usage

Usage guidelines for this component.

Sample

AMX sample code for this component.

<amx:tableLayout id="tl1" width="100%" summary="This is summary of the table" borderWidth="1" cellPadding="2" cellSpacing="2">
<amx:rowLayout id="rl1">
<amx:cellFormat id="cf1" halign="center">
<amx:outputText value="1" id="ot4"/>
</amx:cellFormat>
<amx:cellFormat id="cf2" halign="center">
<amx:outputText value="2" id="ot5"/>
</amx:cellFormat>
<amx:cellFormat id="cf3" halign="center">
<amx:outputText value="3" id="ot6"/>
</amx:cellFormat>
</amx:rowLayout>
</amx:tableLayout>

Related

Fig 1. iOS Table

 

Fig 2. Android Table