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 » Tree like grid Collapse All
Subject Author Date
Zoltan Bokor Aug 31, 2010 - 7:08 AM

How can I create in a CExtGridWnd grid cells like in a tree view (cells having a parrent that I can Expand and Collapse) ? Something like this:

-- MainCell


   -- SubCell1


   -- SubCell2


Technical Support Aug 31, 2010 - 12:53 PM

Please use the CExtTreeGridWnd control demonstrated in the FilteredGrids sample application and in the following test projects:

The CExtTreeGridWnd class is also used as the base class for the CExtReportGridWnd control demonstrated in the ReportGrid and FilteredGrids sample applications.
The CExtTreeGridWnd control is used internally in the CExtPropertyGridCtrl control for displaying hierarchy of property categories and values. This is demonstrated in the PropertyGrid and CompoundProperties sample applications.
You can use the CExtPPVW < CExtTreeGridWnd > template based class if you need the printing and print previewing features in the tree grid control.