Play框架中PDF模块中的表格标题
我正在使用play框架。我能够使用PDF模块生成PDF。我的问题是我想在每个页面中添加表头。这是我的密码Play框架中PDF模块中的表格标题,pdf,playframework,Pdf,Playframework,我正在使用play框架。我能够使用PDF模块生成PDF。我的问题是我想在每个页面中添加表头。这是我的密码 <table width="100%" border="1" id="example" cellspacing="0" cellpadding="0" style="border-collapse: collapse" class="-fs-table-paginate: paginate;"> <thead>
<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表paginate:paginate;在课堂上。但下一页中不会继续显示表格标题。
我不知道怎么用这个。你能帮我吗
编辑:有人能帮我吗?…您应该将“-fs table paginate:paginate;”添加到样式属性中,而不是类属性中:
<table width="100%" border="1" id="example" cellspacing="0" cellpadding="0" style="border-collapse: collapse; -fs-table-paginate: paginate;">
您应该将“-fs table paginate:paginate;”添加到样式属性中,而不是类属性中:
<table width="100%" border="1" id="example" cellspacing="0" cellpadding="0" style="border-collapse: collapse; -fs-table-paginate: paginate;">