Note: This procedure assumes inline data (as shown in the example at the end of this topic) has been inserted in the UIX file. The inline data named "demoTableData" provides the data for the rows and columns.
To insert addTableRow and TotalRow in tableFooter:
The tableFooter node is inserted and highlighted under the expanded footer node.
Note: To use data binding, see Data Binding a Component Attribute.
...
<table ...>
<contents>
<column>
<columnHeader>Item</columnHeader>
<contents>
<styledText text="${uix.current.firstColumnText}"/>
</contents>
</column>
<column>
<columnHeader>Amount</columnHeader>
<columnFormat columnDataFormat="numberFormat"/>
<contents>
<text text="${uix.current.secondColumnText}"/>
</contents>
<footer>
<textInput columns="2"/>
</footer>
</column>
</contents>
<footer>
<tableFooter>
<contents>
<messageChoice prompt="Row Type">
<contents>
<option text="option 1"/>
<option text="option 2"/>
</contents>
<end>
<addTableRow/>
</end>
</messageChoice>
</contents>
<total>
<totalRow readOnly="false"/>
</total>
</tableFooter>
</footer>
...
</table>
...
About TableFooter and Total
About AddTableRow
About TotalRow
Inserting a Footer Child in a
Column
Working with Table
Components
Copyright © 1997, 2004, Oracle. All rights reserved.