2012-02-22 7 views
1

私はプレーフレームワークを使用しています。私はPDFモジュールを使用してPDFを生成することができます。私の問題はここで私はすべてのページにテーブルのヘッダーを追加したいです。ここに私のコードは、私がhereを見たPlay Frameworkの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> 

です。私は-fs-table-paginate:paginateを追加しました。クラスのattibuteで。しかし、次のページでは表のヘッダーは続きません。 これはどのように使用するのか分かりません。あなたは私を助けてくれますか?

EDIT:あなたが追加する必要があります....私を助けてください

答えて

1

をanyontできる "-fs・テーブルのpaginateを:ページ付け;" class属性ではなくstyle属性に割り当てます。

<table width="100%" border="1" id="example" cellspacing="0" cellpadding="0" style="border-collapse: collapse; -fs-table-paginate: paginate;"> 
関連する問題