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 » Remove column headings on a CExtReportGridWnd Collapse All
Subject Author Date
Cyndi Chatman Feb 8, 2007 - 6:34 AM

If I do not want column headings in my grid, how can I remove them?

Technical Support Feb 8, 2007 - 8:57 AM

It is possible to initialize the grid window without outer header rows/columns at all by simply not invoking the CExtGridWnd::OuterRowCountSet() and/or CExtGridWnd::OuterRowCountSet() methods, but outer rows/columns are needed not only as implementation of visible grid header areas - the grid cells in outer rows/columns are used for storing variable row heights/column widths. So, if you need the variable row heights/column widths in your grid window and/or row/column resizing feature, then you should initialize outer grid areas. You can also use the CExtGridWnd::OuterRowHeightSet() and CExtGridWnd::OuterColumnWidthSet() methods to make outer header rows having zero height and outer header columns having zero width. This is assumed as hidden outer header areas.