Professional UI Solutions
Site Map   /  Register
 
 

Forum

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 » Data Grid Categories Collapse All
Subject Author Date
Mac Will Dec 20, 2005 - 7:17 AM

Hi,


I need to use a data grid and I would like to have the ability to put things in categories like the property grid.  Is this possible by re-using some of these classes?


can the property grid suport more than 2 columns?


Thanks


 


MAC

Mac Will Dec 20, 2005 - 10:27 AM

great!


thanks

Technical Support Dec 20, 2005 - 10:20 AM

The property grid control is a container for one or more (by default two) tree grid windows. The tree grid is implemented in the CExtTreeGridWnd class derived from the CExtGridWnd class. The tree grid seems to be the window you are looking for. It is absolutely similar to the CExtGridWnd class but supports a tree-like layout in the vertical direction. The CExtTreeGridWnd class defines its own API for accessing grid cells. All the methods are using zero-based column indices and HTREEITEM row handles. Please download and take a look at this sample application, which deals with the CExtTreeGridWnd class. A set of toolbar buttons in this sample is defined to perform all the possible operation with the tree row structure in the tree grid window.