Print Page | Close Window

Multi-line column header

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Report Control
Forum Description: Topics Related to Codejock Report Control
URL: http://forum.codejock.com/forum_posts.asp?TID=6346
Printed Date: 22 November 2024 at 7:54am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Multi-line column header
Posted By: prorpy
Subject: Multi-line column header
Date Posted: 08 February 2007 at 3:27am
Hi all,
 
Does anyone know if it's possible to create column headers with multiple rows. For instance: in an email grid there's a column header
 
From
 
I'd like to change that to
 
Received
From
 
Any ideas?



Replies:
Posted By: sserge
Date Posted: 08 February 2007 at 6:30am
Hi,

Set FixedRowHeight = False and assign DT_WORDBREAK to column alignment.
 
See example in CReportSampleView::OnReportcontrolMultilinesample()

--
WBR,
Serge


Posted By: prorpy
Date Posted: 08 February 2007 at 8:31am
Thx!


Posted By: PatS
Date Posted: 17 May 2007 at 12:30pm
I can't get the wordwrap to work for the columnheader caption.  Only for the records.  Am I missing something?


Posted By: sserge
Date Posted: 17 May 2007 at 6:00pm
Should be working fine. Set '\n' as lines divider, and enable Report Control / Multiline Sample option in a sample application.

--
WBR,
Serge



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net