Adding and deleting TreeView levels

You add and delete TreeView levels using the Rows menu in the DataWindow painter.

StepsTo create an additional level in a TreeView DataWindow:

  1. Open the TreeView DataWindow if it is not already open.

  2. Select Rows>Create TreeView Level from the menu bar.

    The Specify Group Columns dialog box displays.

  3. Specify the columns you want to set as the next TreeView level by dragging them from the Source Data pane to the Columns pane.

    In the sample DataWindow shown in “Example”, the second level has a single column, the employee_city column.

    Shown is the Specify Group Columns dialog box.
  4. Click OK.

    The new TreeView level and a Trailer band for that level are created in the TreeView Design view. For information on how to set properties for a TreeView level, see “Setting TreeView level properties”.

StepsTo delete a level in a TreeView DataWindow:

  1. Select Rows>Delete TreeView Level from the menu bar.

    Delete TreeView Level is on the Rows menu and has a submenu that shows the current levels in the data window.
  2. Select the number of the level to delete from the list of levels that displays.

    The level in the TreeView DataWindow is deleted immediately.