注意: この手順では、このトピックの最後に記述されているインライン・データがUIXファイルに挿入されているものとして説明しています。demoTableDataというインライン・データでは、行と列のデータが提供されます。
columnコンポーネントに子であるfooterを挿入するには、次のようにします。
...
<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" name="sometotal" text="42"/>
</footer>
</column>
</contents>
...
</table>
...
列の作成
tableFooter、addTableRowおよびtotalRowの使用
tableコンポーネントの使用
Copyright © 1997, 2004, Oracle. All rights reserved.