Hi
So that's my question, in two points:
1) When exporting, my tables break awkwardly because the number of lines exceeds the space on paper size; how can I limit number of lines per page on export to PDF, so that all tables break gracefully when number of rows exceeds a certain number?
2) I need to be able to add a TR (row) to the THEAD on tables, like this (or completely replace the default THEAD from Table):
<thead>
<tr>
<th rowspan="2">PCode</th>
<th rowspan="2">Male</th>
<th rowspan="2">Female</th>
<th colspan="5">Ages groups</th>
<th colspan="6">Income groups</th>
</tr>
<tr>
<th>under 15</th>
<th>15 to 34</th>
<th>35 to 44</th>
<th>45 to 54</th>
<th>Above 55</th>
<th>under 15 K</th>
<th>> 30 and < 50 K</th>
<th>> 50 and < 70 K</th>
<th>> 70 and < 100 K</th>
<th>above 100 K</th>
</tr>
</thead>
... so the table header actually has two rows, pls see below:
I managed to do this by completely replacing the tables head with javascript, but this simply does not work when exporting. Can you please tell me how to achieve this using KoolReport Table and exporting it? Or any workaround that will work when exporting (my jQuery workaround only works in HTML when displaying on browser) ?
Thank you!