nmsranito Posted January 22, 2013 Share Posted January 22, 2013 hello I'm using primefaces as framework. I built a table with the following structure: <f:facet name="header"> The main Title </f:facet> <p:columnGroup type="header"> <p:row> <p:column colspan="1" rowspan="2" headerText="Data" /> <p:column colspan="1" rowspan="2" headerText="Porto" /> <p:column colspan="3" rowspan="1" headerText="Espécie" /> <p:column colspan="1" rowspan="2" headerText="(Kg)" /> <p:column colspan="1" rowspan="2" headerText="€" /> <p:column colspan="1" rowspan="2" headerText="Total(€)" /> <p:column colspan="2" rowspan="1" headerText="Comprador" /> </p:row> <p:row> <p:column colspan="1" headerText="Nome"/> <p:column colspan="1" headerText="Tamanho"/> <p:column colspan="1" headerText="Frescura"/> <p:column colspan="1" headerText="Nome"/> <p:column colspan="1" headerText="NIF"/> </p:row> </p:columnGroup> My point is to print the table, which spans over more than one page, with the header on top of which page. I used the following code: table { -fs-table-paginate: paginate; page-break-inside: always; border-color: red !important;} thead {display: table-header-group;} but still only prints on the first page... Can anyone help? Link to comment Share on other sites More sharing options...
xhtmlchamps1 Posted January 25, 2013 Share Posted January 25, 2013 We cannot use like this. Link to comment Share on other sites More sharing options...
nmsranito Posted February 6, 2013 Author Share Posted February 6, 2013 Nobody can help?It's hopeless?Do I need to input some more info? Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now