2012-02-22 138 views
1

我使用游戏框架。我能够使用PDF模块生成PDF。我在这里的问题是,我要添加的表头在每一页。这里是我的代码表标题中播放框架PDF模块

<table width="100%" border="1" id="example" cellspacing="0" cellpadding="0" style="border-collapse: collapse" class="-fs-table-paginate: paginate;"> 
       <thead> 
        <tr> 
         <th align="center"><b>Items</b></th> 
         <th align="center"><b>Quantity</b></th> 
         <th align="center"><b>Unit Price</b></th> 
         <th align="center"><b>Amount(Rs).</b></th> 
        </tr> 
       </thead> 
..... 
</table> 

我看到here。我增加-fs表-PAGINATE:分页;在班级attibute。但是,表头是不会在未来继续页。 我不知道怎么用这个。你能帮我吗?

编辑:可以anyont请帮我....

回答

1

您应该添加 “-fs表-PAGINATE:分页;”到样式属性,而不是类属性:

<table width="100%" border="1" id="example" cellspacing="0" cellpadding="0" style="border-collapse: collapse; -fs-table-paginate: paginate;">