Portlet Factory, Version 6.1.2


 

Category View builder

Use the Category View builder to enhance the display of data in which at least one column is both sorted and contains repeated values. Use this builder when you want to create a data view that allows users to expand and collapse the data by category. This type of control is often referred to as a “twisty” by Domino users. This builder adds collapsible sections associated with one or more columns of categorized or sorted data. A user can click on an icon to expand and collapse displayed category data. Note that this builder requires that a column of the data contains category values. You can do this when working with data that is drawn from Lotus Domino and has been categorized.

The Category View builder modifies a tabular display generated by a Data Page builder. To this display the Category View builder adds sections associated with one or more columns of categorized or sorted data. The resulting display mimics a categorized view displayed by Lotus Domino.

The Category View builder modifies the display by surrounding the basic tabular view elements created by the Data Page builder with segments of Java code. This code tracks the category values and, as the user clicks on a related icon, manages the expansion and collapse of categories.

A Category column must be ordered such that rows that belong to the same category are adjacent to one another. If this is not the case, the builder cannot reorder the data for display. Tip: For the best-looking display, use the Data Column Modifier builder to reorder columns so that Category columns are placed to the left.

Parent topic: Builder help


Library | Support |