In need of <thead> and <tbody> in wiki tables

12 views
Skip to first unread message

Martin

unread,
Oct 5, 2022, 12:45:06 PM10/5/22
to trac-...@googlegroups.com
Hi,

I'm on Trac 1.2.3 (sorry for the ancient version), and need to have
HTML tables with a "proper" <thead> and <tbody> to apply the jQuery
tablesorter plugin. The normal wiki table syntax, owever, produces
simple tables with only <tr> and <td>. Any trick to get what I need?

TIA!

RjOllos

unread,
Oct 5, 2022, 2:49:03 PM10/5/22
to Trac Users
You can add JavaScript to be executed on every page that modifies the tables to meet your needs. I think it can be done similar to this example for adding CSS on every page:
 

Martin

unread,
Oct 5, 2022, 6:22:52 PM10/5/22
to trac-...@googlegroups.com, RjOllos
On 2022-10-05 11:49, RjOllos wrote:
> You can add JavaScript to be executed on every page that modifies the tables to meet your needs.

Some easy/ugly lines of jQuery helped, indeed. Thanks for the hint!
Reply all
Reply to author
Forward
0 new messages