This topic describes the steps for creating a row outside a table. To insert a row in a table, see Inserting a Table and Row Using TableLayout and RowLayout.
To insert a row using rowLayout:
The rowLayout node is inserted and highlighted under the expanded parent node.
Tip: You can use rowLayout components in a stackLayout, and then use the stackLayout named child, separator, to add vertical spacing or a dotted line between each row.
Note: To use data binding, see Data Binding a Component Attribute.
...
<pageLayout>
<!-- Insert rowLayout outside a table -->
<contents>
<header text="Here are three rows">
<contents>
<rowLayout width="60%">
<contents>
First Row
Second Column
Third Column
</contents>
</rowLayout>
<rowLayout width="30%">
<contents>
Second Row
Second Column
Third Column
</contents>
</rowLayout>
<rowLayout width="10%">
<contents>
Third Row
Second Column
Third Column
</contents>
</rowLayout>
</contents>
</header>
</contents>
<!-- REST OF PAGE LAYOUT -->
</pageLayout>
...
About TableLayout
About RowLayout
About CellFormat
Arranging Components Horizontally or
Vertically Using FlowLayout or StackLayout
Inserting a Child Component in a RowLayout
Using CellFormat Around RowLayout Child Components
Working with Layout Components
Copyright © 1997, 2004, Oracle. All rights reserved.