Skip to content

cDRGroupTree Class

Properties - Methods - Events

An object of this class is automatically created by the cDRPreview, cDRToolPanelPreview, and cDRDesktopPreview class-based preview objects, as well as in the DRModalPreview.dg modal dialog. An object of the class may also be created as a sibling object of a cDRReport when it operates as an embedded preview (pePreviewStyle = C_DRPREVIEW_EMBEDDED).

The class is a subclass of the DataFlex treeview and implements the OnCreateTree event to populate itself with first-level grouping information from the report. After clicking an item, the preview is updated by navigating to the report page number and scroll position associated with the group. A report may have nested groups or groups provided via a sub-report. When present, the tree node can be expanded to display the nested group information.

There is no need to program anything in an object of this class.

Child objects

An object of this class defines a cDRGroupTreeImageList object to load images for the treeview.