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.

    In the Specify Group Columns dialog box, the city column has been dragged from the left pane to the right pane.
  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.

  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.

    NoteIf you delete a level by mistake If you unintentionally delete a level, close the TreeView DataWindow without saving changes, then reopen it and continue working.