Solved

DataGrid HeaderText Orientation

Posted on 2004-09-03
2
772 Views
Last Modified: 2012-06-27
Is it possible to alter the orientation of the Header Text in a DataGrid?  What I'm referring to is a feature that Microsoft Excel offer.  When text is entered into a cell, the user can format that cell, selecting the alignment, and rotate the text 90, 45, -90 degrees, etc....  The reason I'd like to do this is to make the text vertical to shrink the width of the column.  

Instead of:
COLUMN 1

It would be:
C
O
L
U
M
N

1

The question is: Is it possible?  If so and you can provide some example, I'll increate the points.  My hunch is that it's not possible or more trouble then it's worth.

0
Comment
Question by:alausted
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 10

Accepted Solution

by:
jnhorst earned 125 total points
ID: 11978482
How much willl you increase the points??? :-)

Set AutoGenerateColumns to false, specify the column manually and set the HeaderText to:

C<br>O<br>L<br>U<br>M<br>N<br>1

John
0
 

Author Comment

by:alausted
ID: 11999741
Ahhh, very good!  I can work with that idea.

Since it was relatively easy and not exactly what I was looking for, I'll bump it up but not WAY UP.  125 points awared to jnhorst.
0

Featured Post

Salesforce Made Easy to Use

On-screen guidance at the moment of need enables you & your employees to focus on the core, you can now boost your adoption rates swiftly and simply with one easy tool.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In this Article, I will provide a few tips in problem and solution manner. Opening an ASPX page in Visual studio 2003 is very slow. To make it fast, please do follow below steps:   Open the Solution/Project. Right click the ASPX file to b…
It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial
This video shows how to use Hyena, from SystemTools Software, to update 100 user accounts from an external text file. View in 1080p for best video quality.

752 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question