简体   繁体   English

导出为PDF时,如何在表中保留垂直标题?

[英]How can I keep vertical headers in my table when I export to PDF?

When I export my datatable to PDF i lose the verticle headers. 当我将数据表导出为PDF时,我丢失了标头。 they no onlonger show vertically. 他们没有再垂直显示。 and when I make the headers images instead of text, the header image doesn't show at all in the PDF export. 当我制作标题图片而不是文字时,标题图片在PDF导出中根本不显示。 anyone know why?. 有人知道为什么吗?

here is my css for vertical text: 这是我的垂直文本的CSS:

.verticaltext
{

writing-mode: tb-rl;
filter: flipv fliph;
font-size:100%;
font-weight:500;
height:80px;
padding: 2px;
overflow: hidden;
transform: rotate(-90deg);
text-align:left;
line-height:130%;


}

I think you need a css help. 我认为您需要CSS帮助。 the below code return below css3 ver 下面的代码在css3 ver以下返回

<style>  
  h1 {  
    width: 50px;  
    font-size: 50px;  
    word-wrap: break-word;  
    letter-spacing: 20px; /* Set large letter-spacing as precaution */  
  }  
</style>
 <h1> ANAND </h1> 

I hopes its helps to you... 希望对您有帮助...

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM