repeating headers working example
The repeating header article can be a bit confusing.
The working example is intended for future reference.
<style type="text/css">table.table867 {border:solid black 1px; border-collapse:collapse; border-spacing:0px;font-family:Arial Unicode MS,sans-serif; font-size:15pt; width:100%; sd:repeatheader;border-spacing:0; border-width: 0}
.table867header {text-align:center;font-weight:bold;border:solid black 1px;color:#FFFFFF;background-color:#000000; border-width: 1px 1px 1px 0}
.table867footer {text-align:right;font-weight:bold;border:solid black 1px; height: 30px}
.table867RowEven{border:solid black 1px;}
.table867RowOdd{background-color:#cdcdcd;background-color:#a8a8a8;border:solid black 1px;}
.table867col0{border:solid black 1px;text-align:left;font-weight:normal;font-size:15pt;font-family:Arial Unicode MS,sans-serif; border-width:0 1px 1px 1px;}
.table867col1{border:solid black 1px;text-align:left;border-width:0 1px 1px 0;font-weight:normal;font-size:15pt;font-family:Arial Unicode MS,sans-serif;}
.table867col2{border:solid black 1px;text-align:left;font-weight:normal;font-size:15pt;font-family:Arial Unicode MS,sans-serif;border-width:0 1px 1px 0;}
</style>
<table class="table867">
<thead>
<tr>
<th class="table867header" style="border-width: 1px 1px 1px 1px;">Opportunity ID</th>
<th class="table867header">Opportunity Name</th>
<th class="table867header">Opportunity Amount</th>
</tr>
</thead>
<tbody><!--{{!
<lineitemsSOQL>
<class>table867</class>
<soql>select id, name, amount from opportunity</soql>
<column>id</column>
<column>name</column>
<column>amount</column>
</lineitemsSOQL>
}}-->
</tbody>
</table>Previousnegative numbers foreign and domestic currencyNextgenerating different headers on different pages in pdf templates
Last updated
Was this helpful?

