You need to sign in to do that
Don't have an account?
Manojjena
Dynamic table header in pdf on page break
Hi All,
I am working on a pdf ,In the pdf the table has a lot of records so it is creating more then 10 page .I need the table header in each page .also in the last page I don't need the header .Can any one suggest me some solution for this .
Thanks
Situ.
Hello.
try in the CSS file:
@page {
size: A4;
@top-center
{
content : element(header);
}
}
div.header{
position : running(header);
}
In the VF page:
<div class="header">
<!-- Any data here will apear in each page
</div>
for the last page I think you can define in the CSS:
@page:last {
size: A4;
margin: 45mm 4mm 15mm 4mm;
}
This way the header won't apply for the first page
Hi ,
Thanks for quick responce ,I have one doubt can i use @page:last ,I have already used @Page:First it is working for the first page but @Page:last is not working can u suggest me for this.Whether @Page:last is ther or not.
You're right.
There is no @page:last. Sorry for the wrong information.
Can u have any other solution that how can i avoid the header from the last page ?