How to Use a Custom Shapes File What You May Need to Know About Supported SVG Features

26-2 Web User Interface Developers Guide for Oracle Application Development Framework Figure 26–1 Sales Pivot Table with Multiple Rows and Columns Pivot tables support on-demand data scrolling for large data sets. Only the data being viewed in the pivot table is loaded. As the user scrolls vertically or horizontally, data is fetched or discarded to fill the new pivot table view. Figure 26–2 shows a pivot table with a large data set using on-demand data scrolling. Figure 26–2 On-Demand Data Scrolling in a Pivot Table A pivot filter bar is a component that can be added to a pivot table to provide the user with a way to filter pivot table data in layers not displayed in one of the other edges of the pivot table. Users can also drag and drop these layers between the pivot filter bar and the associated pivot table to change the view of the data. Figure 26–3 shows a pivot filter bar for a pivot table. Figure 26–3 Pivot Filter Bar Component

26.1.1 Pivot Table Elements and Terminology

The following list of pivot table terms uses Figure 26–1 as a Sales Pivot Table sample in its descriptions of terms: ■ Edges: The axes in pivot tables, including: Using ADF Pivot Table Components 26-3 – Row edge: The vertical axis to the left of the body of the pivot table. In Figure 26–1 , the row edge contains two layers, Year and Product, and each row in the pivot table represents the combination of a particular year and a particular product. – Column edge: The horizontal axis above the body of the pivot table. In Figure 26–1 , the column edge contains three layers, Measure, Channel, and Geography, and each column in the pivot table represents the combination of a particular measure value Sales or Units, a particular channel indicator All Channels, and a particular geographic location World or Boston. – Page edge: The edge represented by the pivot filter bar, whose layers can be filtered or pivoted with the layers in the row and column edges. ■ Layers: Nested attributes that appear in a single edge. In Figure 26–1 , the following three layers appear in the column edge: Measure, Channel, and Geography. The following two layers appear in the row edge: Year and Product. ■ Header cell: The labels that identify the data displayed in a row or column. Row header cells appear on the row edge, and column header cells appear on the column edge. ■ Data cell: The cells within the pivot table that contain data values, not header information. In the sample, the first data cell contains a value of 20,000.000. ■ QDR Qualified Data Reference: A fully qualified data reference to a row, a column, or an individual cell. For example, in Figure 26–1 , the QDR for the first data cell in the pivot table must provide the following information: – Year=2007 – Product=Tents – Measure=Sales – Channel=All Channels – Geography=World

26.2 Understanding Data Requirements for a Pivot Table

The pivot table component uses a model to display and interact with data. The specific model class used is oracle.adf.view.faces.bi.model.DataModel. You can use any row set flat file data collection to supply data to a pivot table. During the data binding operation, you have the opportunity to drag each data element to the desired location on the row edge or column edge of the pivot table in the data binding dialog. During data binding, you also have the option of specifying subtotals and totals for pivot table rows and columns, specifying drill operations at runtime, defining how to aggregate duplicate records, and setting up initial sort criteria. For information about the data binding of ADF pivot tables, see the Creating Databound ADF Pivot Tables section in the Oracle Fusion Middleware Fusion Developers Guide for Oracle Application Development Framework.

26.3 Pivoting Layers

You can drag any layer in a pivot table to a different location on the same edge or to a different edge. This operation is called pivoting and is enabled by default.