Author Topic: Wrap column headers in thead tag when exporting to Html  (Read 684 times)

akraines

  • Pro Ultimate
  • Newbie
  • *
  • Posts: 34
    • View Profile
Wrap column headers in thead tag when exporting to Html
« on: December 17, 2019, 09:40:30 pm »
Hi,

There is a small bug in the export to html code: It doesn't wrap header columns in <thead></thead>. This means that if you try print the table and it is a few pages long, it will not repeat the columns headers on each printed page. If you simply wrap the header with <thead></thead> and the body with <tbody></tbody> then it works as expected.
The correct table structure should look something like this:
<table>
 <thead>
  <tr>
   <th></th>
  </tr>
 </thead>
 <tbody>
  <tr>
   <td></td>
  </tr>
 </tbody>
</table>

paramvir

  • Administrator
  • Hero Member
  • *****
  • Posts: 4406
    • View Profile
Re: Wrap column headers in thead tag when exporting to Html
« Reply #1 on: March 18, 2020, 10:29:14 pm »
This is done in v7.

akraines

  • Pro Ultimate
  • Newbie
  • *
  • Posts: 34
    • View Profile
Re: Wrap column headers in thead tag when exporting to Html
« Reply #2 on: March 19, 2020, 03:44:25 am »
Thanks - I noticed :-)
(I looked at the diff of the new version since if it wasn't done I would have had to re-add it)