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 » CExtReportGridWnd indent Collapse All
Subject Author Date
Zoltan Bokor Sep 14, 2010 - 12:10 AM

I have a CExtReportGridWnd grouped by the first column, see below the first row in the report grid:


 



How can I indent the rows belonging to a group in report grid, like it’s displayed in  the second row ?


 


 

Technical Support Sep 14, 2010 - 5:38 AM

The indent area is an inner part of the column which is defined by the CExtTreeGridWnd::OnTreeGridQueryColumnOutline() method. By default, it’s always the first column in the CExtTreeGridWnd and CExtReportGridWnd controls. The CExtTreeGridWnd::OnGbwAdjustRects() virtual method reserves the outline area space. It’s overridden in the CExtReportGridWnd control to provide outlines specific for the report grid control style. You can override this method and reserve any outline space you need.