Loading...
This site is best viewed in a modern browser with JavaScript enabled.
Something went wrong while trying to load the full version of this site. Try hard-refreshing this page to fix the error.
Add thead, tfoot in all tables
radiks
Hi,
I want to add thead, tfoot in all tables because this will repeat table header if the table go to a next page. Is this possible?
I use dw2pdf for export to pdf and for tables extab2.
Thanks in advance.
samwilson
This has been requested. Add your vote to the feature request:
https://bugs.dokuwiki.org/index.php?do=details&task_id=1764
radiks
Hi,
I tried to insert thead tag in all tables but without success. I tried to do this in dw2pdf/action.php and dw2pdf/mpdf/mpdf.php with following code:
$html = preg_replace('/<tbody>(\s)*<tr>(\s)*<th>/', "<thead><tr><th>", $html);
$html = preg_replace('/(<\/th>)(\s)*(<\/tr>)(\s)*(<tr>)(\s)*(<td>)/s', "$1\n$3\n</thead>\n<tbody>\n$5\n$7\n", $html);
May be somewhere there is a code that clears the <thead> tags.
Regards
Radiks
Imprint
Global DokuWiki Links
Download
Wiki
Forum
IRC
Bugs
Translate
Git
XRef