First page Back Continue Last page Text

oracle adf workshop


Using ADF Faces Table and Tree Components

You can easily add a databound table to a page by using the af:table component to display structured data as a formatted table. This is done for you automatically when you drag a view object instance from the Data Controls panel and choose to create it as an ADF table.

There are two additional types of components for displaying rows of data:

af:tree: Used to display hierarchical data; the nested levels of data are indented, and the user can expand and collapse the nodes

af:treeTable: Combines the features of a table and a tree to present hierarchical data with indenting in the same way as the af:tree component, but within a table, offering the column heading, column banding and other features of a table. Table components include a variety of features for presenting tables, such as grid lines, banding, and grouping of columns with headers spanning several columns.