From: "Dr. Volker Zell" <vzell@volkerzell.de>
To: raghnysh@gmail.com
Cc: emacs-orgmode@gnu.org
Subject: Re: How can I export a table to HTML with header and footers
Date: Fri, 18 Oct 2024 22:38:35 +0200 [thread overview]
Message-ID: <f42d349d-edee-495d-a607-c6d3624e7f55@volkerzell.de> (raw)
[-- Attachment #1: Type: text/plain, Size: 1655 bytes --]
Hi
Thanks ... you made my day ... even if haven't asked for displaying 2
tables (or maybe even more) at the same time with all the Datatables
magic glue in ORG syntax this was exactly what I would have asked next
... Yeeeeah your solution (even with the id attribute) works perfectly.
But back to the main question ... is it somehow possible to generate the
<tfoot> footer elements (I just realized that my example was actually
wrong, I used <thead> for <tfoot>... it should look like the following
#+attr_html: :id example :class cell-border hover compact :width 100%
| Name | Position | Office |
|-------------+------------------+---------------|
| Tiger Nixon | System Architect | Edinburgh |
| Ashton Cox | Technical Author | San Francisco |
|-------------+------------------+---------------|
| Name | Position | Office |
=====>
<table id="example" class="cell-border hover compact" width="100%">
<thead>
<tr>
<th>Name</th>
<th>Position</th>
<th>Office</th>
</tr>
</thead>
<tbody>
<tr>
<td>Tiger Nixon</td>
<td>System Architect</td>
<td>Edinburgh</td>
</tr>
<tr>
<td>Ashton Cox</td>
<td>Technical Author</td>
<td>San Francisco</td>
</tr>
</tbody>
<tfoot>
<tr>
<th>Name</th>
<th>Position</th>
<th>Office</th>
</tr>
</tfoot>
</table>
Thx again ... Volker
[-- Attachment #2: Type: text/html, Size: 2225 bytes --]
next reply other threads:[~2024-10-19 5:29 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-10-18 20:38 Dr. Volker Zell [this message]
2024-10-19 2:40 ` How can I export a table to HTML with header and footers Raghavendra Nyshadham
2024-10-20 13:05 ` Dr. Volker Zell
2024-10-21 3:40 ` Raghavendra Nyshadham
-- strict thread matches above, loose matches on Subject: below --
2024-10-17 19:14 Dr. Volker Zell
2024-10-18 3:05 ` Raghavendra Nyshadham
2024-10-18 11:35 ` Raghavendra Nyshadham
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=f42d349d-edee-495d-a607-c6d3624e7f55@volkerzell.de \
--to=vzell@volkerzell.de \
--cc=emacs-orgmode@gnu.org \
--cc=raghnysh@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).