set a column header to span two columns
490959Sep 2 2008 — edited Sep 2 2008I want to have a column header span two columns while still retaining two individual column headers beneath.
as an example i want to have the word salary span two columns and below this have two columns for max(salary) and avg(salary). i have included some HTML below
is it possible to do this using a standard APEX report? I understand that i could do it by manipulating the DOM using javascript but i want to avoid that if possible.
<table border=1 style="border-collapse:collapse;">
<tr>
<th rowspan=2 valign=bottom>col1</th>
<th colspan=2>salary</th>
</tr>
<tr>
<th>max</th>
<th>avg</th>
</tr>
<tr>
<td>aaa</td>
<td>10</td>
<td>2</td>
</tr>
<tr>
<td>ddd</td>
<td>6</td>
<td>3</td>
</tr>
</table>