Professional UI Solutions
Site Map   /  Register


Please Log In to post a new message or reply to an existing one. If you are not registered, please register.

NOTE: Some forums may be read-only if you are not currently subscribed to our technical support services.

Forums » Prof-UIS General Discussion » Hierarchical grid Collapse All
Subject Author Date
Cyndi Chatman Feb 6, 2007 - 11:03 AM

Is there a way to create hierarchical (or nested) grids?

Technical Support Feb 8, 2007 - 3:50 AM

The CExtTreeGridWnd class is the control which you need. It has exactly the same features as the CExtGridWnd class implementing plain grid control, but it uses HTREEITEM-based tree data structure in the vertical direction. The tree grid can contain any of 30+ grid cell objects and supports printing and print preview feature based on the enhanced windows metafile cache (this feature is introduced in Prof-UIS 2.63.3 available as latest development source code snapshot for registered users in the download page). The tree grid is used in the CExtPropertyGridCtrl class which implements property grid control. It is also base class for the CExtReportGridWnd class which implements report grid control. Unfortunately we have no samples in Prof-UIS which are dedicated to the CExtTreeGridWnd class, but the test_tree_grid_idea test project can demonstrate you how to use the tree grid.

Suhai Gyorgy Feb 7, 2007 - 1:51 AM

Maybe CExtTreeGridWnd would be good for you. It is not nested, but more like hierarchical.