Multi-line column headers |
Post Reply |
Author | |
Graham
Groupie Joined: 12 May 2003 Location: United Kingdom Status: Offline Points: 23 |
Post Options
Thanks(0)
Posted: 03 October 2011 at 6:26pm |
Is it possible to have multi-line column headers? If so, how is this achieved?
Thanks, Graham
|
|
Willowmaster
Senior Member Joined: 12 July 2010 Location: Netherlands Status: Offline Points: 180 |
Post Options
Thanks(0)
|
Maybe you can use Markup to do this? I'm not into XAML but there is a lot you can do with it.
Set the property EnableMarkup to True and you can use XAML.
|
|
Product: Xtreme SuitePro (ActiveX) version 15.3.1
Platform: Windows XP (32bit) - SP 3 (on VMWare) Language: Visual Basic 6.0 |
|
chc_gpi
Newbie Joined: 06 October 2011 Status: Offline Points: 9 |
Post Options
Thanks(0)
|
Hi,
I try the same thing, Graham Have you find how to do ? Thanks |
|
chc_gpi
Newbie Joined: 06 October 2011 Status: Offline Points: 9 |
Post Options
Thanks(0)
|
I managed to do it :
set PaintManager:FixedRowHeight to false Use chr(10) in the column header to make multi-line header |
|
Graham
Groupie Joined: 12 May 2003 Location: United Kingdom Status: Offline Points: 23 |
Post Options
Thanks(0)
|
We no longer require the change, but it's good to know for possible future application.
Thanks
|
|
SteveStraley
Groupie Joined: 25 November 2005 Status: Offline Points: 46 |
Post Options
Thanks(0)
|
Hi.
I set the FixedRowHeight property of the PaintManager propert of the AXReportControl and I added a \r character in the string of text for the column header and it do not seem to do anything. The row height was not changed and the \r character did not show up in the header and the text was not separated.
Am I missing something here?
Steve
|
|
SteveStraley
Groupie Joined: 25 November 2005 Status: Offline Points: 46 |
Post Options
Thanks(1)
|
All,
A quick update. I used the following on the construction of the column for the report:
o.HeaderAlignment = XTPColumnAlignment.xtpAlignmentWordBreak;Where "o" is the return value from the Columns.Add() method. This works on word breaks but not at specific locations within the column header. In addition, if the grid is "refreshed" the column header width reverts back to FixedHeight!
Thoughts? Ideas?
Steve
|
|
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 |