Welcome Guest Search | Active Topics | Sign In | Register

Keep Gridview Header on pake break Options
Alester Gómez
Posted: Monday, August 20, 2012 1:33:00 AM
Rank: Member
Groups: Member

Joined: 7/10/2012
Posts: 14
Hi.
I am just facing a trouble when using HtmlToPdf.ConvertUrl method. I already have added a principal table whith thead and when I use the convert method it repeat the header for all pages. The problem is I have indise this table a gridview which can span in more than one page. I need that the header of gridview repeat in all pages the information span. I don´t know how can I archive it. One way I think to do it is iterating on all pdf pages and adding the table header programatically using acmTable but I don´t know how and neither if it is the best way.
Thanks
eo_support
Posted: Monday, August 20, 2012 9:21:36 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,195
Hi,

You will need to render your table header using THEAD. Once you use that it will be automatically repeated:

http://www.essentialobjects.com/doc/4/htmltopdf/table_header.aspx

Thanks!

Alester Gómez
Posted: Monday, August 20, 2012 10:34:20 AM
Rank: Member
Groups: Member

Joined: 7/10/2012
Posts: 14
Thanks.
Question. These is my structutre
<table>
<thead>
.........
</thead>
<tr><td>
-----another tables
----- <table-n>
<thead>
.........
</thead>
-.....
</table-n>

</td></tr>

</table>
For the parent table the header is repeating as expected, but for table-n not. Should it repeat the header also?
Thanks!!!
eo_support
Posted: Monday, August 20, 2012 10:39:20 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,195
Hi,

No. Table header/footer repeating occurs on a single level only.

Thanks!


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.