Click here to Skip to main content
15,890,527 members
Please Sign up or sign in to vote.
5.00/5 (1 vote)
See more:
I did the Grid View Header Text Vertical using with the following style
HTML
<style type="text/css"> 

.VertiColumn th { 
writing-mode: tb-rl; 
filter: fliph()flipV(); 

} 

</style>

<HeaderStyle CssClass="VertiColumn" />

But i want the Header to be like this in Vertical. Shouldn't show full text in one line, it should wrap the text.

eg:

"Monthly
Rate"
Posted
Updated 26-Sep-12 21:35pm
v2

try yo use this piece of code in ur css class

.headerText
{
display:block;
height:128px;
width:128px;
vertical-align:bottom;
-webkit-transform: rotate(-90deg);
-moz-transform: rotate(-90deg);
-o-transform: rotate(-90deg);
filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=3);
}

.headerBottom
{
vertical-align:bottom;
}

here's the aspx page
The column is defined as:

<ext:column columnid="indAcademic" header="<span class='headerText'>Academic Indicator</span>" width="48" dataindex="AcademicInd" xmlns:ext="#unknown">
<renderer fn="IndicatorCol">
 
Share this answer
 
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900