You need to sign in to do that
Don't have an account?
Mohamed Azarudeen
pageblock table or datatable
pageblock table or datatable header column display in transform: rotate(-90deg); . If any body have a code please share..
function readOnly(count){ }
You need to sign in to do that
Don't have an account?
All Answers
http://css-tricks.com/snippets/css/text-rotation/
<apex:page renderAs="pdf" >
<html>
<head>
<!--[if IE]>
<style>
.rotate_text
{
writing-mode: tb-rl;
filter: flipH() flipV();
}
</style>
<![endif]-->
<!--[if !IE]><!-->
<style>
.rotate_text
{
-moz-transform:rotate(-90deg);
-moz-transform-origin: top left;
-webkit-transform: rotate(-90deg);
-webkit-transform-origin: top left;
-o-transform: rotate(-90deg);
-o-transform-origin: top left;
position:relative;
}
</style>
<!--<![endif]-->
<style>
table
{
table-layout: fixed;
width: 69px; /*Table width must be set or it wont resize the cells*/
}
th, td
{
border: 1px solid black;
width: 23px;
}
.rotated_cell
{
height:50px;
vertical-align:bottom
}
</style>
</head>
<body>
<table border='1'>
<tr>
<td class='rotated_cell'>
<div class='rotate_text'>Test1</div>
</td>
<td class='rotated_cell'>
<div class='rotate_text'>Test2</div>
</td>
<td class='rotated_cell'>
<div class='rotate_text'>Test3</div>
</td>
</tr>
<tr><td>X</td><td>X</td><td>X</td></tr>
<tr><td>X</td><td>X</td><td>X</td></tr>
<tr><td>X</td><td>X</td><td>X</td></tr>
<tr><td>X</td><td>X</td><td>X</td></tr>
</table>
</body>
</html>
</apex:page>