Report Control Grouping |
Post Reply |
Author | |
Prassi
Newbie Joined: 15 January 2007 Location: United States Status: Offline Points: 1 |
Post Options
Thanks(0)
Posted: 30 March 2007 at 4:42pm |
Can anyone please suggest how to get rid of the lines that are pointed in the following Report Control. These lines come up as separators between group and thier child rows. Basically, I am trying to achieve a close look and feel of a tree control using Report Control. It will help a lot if I can even change the style and color of these lines as I will need to show collapsed child rows initially when the data is shown in this view.
|
|
mgampi
Senior Member Joined: 14 July 2003 Status: Offline Points: 1201 |
Post Options
Thanks(0)
|
Hi;
I believe that you have to create your own CXTPReportPaintManager derived class and overwrite DrawGroupRow() or as a simple workaround set the protected m_nGroupGridLineHeight member to 0. Inside DrawGroupRow the Line is drawn by calling FillSolidRect with nGroupGridLineHeight as the height. I think when you set this to 0 the 'line' disappears.
But I suggest looking at the ReportSample - there you find a simple way to create treeview like reports.
|
|
Martin Product: Xtreme Toolkit v 22.1.0, new Projects v 24.0.0 Platform: Windows 10 v 22H2 (64bit) Language: VC++ 2022 |
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |