Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Report Control
  New Posts New Posts RSS Feed - Record with one item
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Record with one item

 Post Reply Post Reply
Author
Message
Tello74 View Drop Down
Newbie
Newbie


Joined: 10 June 2009
Status: Offline
Points: 7
Post Options Post Options   Thanks (0) Thanks(0)   Quote Tello74 Quote  Post ReplyReply Direct Link To This Post Topic: Record with one item
    Posted: 21 October 2009 at 7:01am
Hi,
 
I have a report control with 3 columns.
Is it possible to insert some children records with a single item spanning on the 3 columns?
 
Thanks
Back to Top
mdoubson View Drop Down
Senior Member
Senior Member
Avatar

Joined: 17 November 2008
Status: Offline
Points: 1705
Post Options Post Options   Thanks (0) Thanks(0)   Quote mdoubson Quote  Post ReplyReply Direct Link To This Post Posted: 21 October 2009 at 3:10pm
No - but you can hide not needed columns e.g. use PlusMinus type for first column
Back to Top
Tello74 View Drop Down
Newbie
Newbie


Joined: 10 June 2009
Status: Offline
Points: 7
Post Options Post Options   Thanks (0) Thanks(0)   Quote Tello74 Quote  Post ReplyReply Direct Link To This Post Posted: 22 October 2009 at 4:13am
Hi,
 
I used PlusMinus icon for first column.
When user click PlusMinus icon a new record (child) appears but its content is truncated to the first column width.
Can I expand the column width for the child record only?
 
Back to Top
mdoubson View Drop Down
Senior Member
Senior Member
Avatar

Joined: 17 November 2008
Status: Offline
Points: 1705
Post Options Post Options   Thanks (0) Thanks(0)   Quote mdoubson Quote  Post ReplyReply Direct Link To This Post Posted: 22 October 2009 at 9:59pm
Apply GetReportCtrl().GetReportHeader()->SetAutoColumnSizing(TRUE);
Back to Top
Tello74 View Drop Down
Newbie
Newbie


Joined: 10 June 2009
Status: Offline
Points: 7
Post Options Post Options   Thanks (0) Thanks(0)   Quote Tello74 Quote  Post ReplyReply Direct Link To This Post Posted: 26 October 2009 at 12:13pm
Hi,
 
I want to resize the child element ONLY (a sort of column merging).
Your suggestion resize ALL the column. So for all the records (parent and child).
I need the following
 
----------------------------------------------------------------------
+/- parent record col 1         | parent record col 2          |
----------------------------------------------------------------------
child record related to parent record of col 1                 |
----------------------------------------------------------------------
 
Regards
 
 
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.141 seconds.