Inserting a Footer Child in a Column

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 a footer child in a column component:

  1. In the Design Structure Window, expand the column node to locate the footer named child node.
  2. Right-click the footer node to insert any component. For example, to insert an input field for a calculated total, you would insert the textInput component.
  3. In the Property Inspector, set the attributes for the child component you inserted.

Example (UIX XML)


...
  <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>
...    

About Footer in Table and Column

Creating a Column
Using TableFooter, AddTableRow, and TotalRow
Working with Table Components

 

Copyright © 1997, 2004, Oracle. All rights reserved.