Edgewall Software
Modify

Opened 9 years ago

Last modified 4 years ago

#8949 new enhancement

add sortable tables to wiki

Reported by: anonymous Owned by:
Priority: normal Milestone: next-major-releases
Component: wiki system Version:
Severity: normal Keywords: sortable table javascript
Cc: itamarost@… Branch:
Release Notes:
API Changes:

Description

See

http://en.wikipedia.org/wiki/Help:Sorting

for Wikipedia's approach to sortable tables.

An approach that does not require JavaScript is preferred, even if it causes the page to reload, but any approach will do.

Useful trac-hacks related to this ticket may include:

http://trac-hacks.org/wiki/FlatTableMacro http://trac-hacks.org/wiki/MultiSortReportPatch http://trac-hacks.org/wiki/WikiTableMacro http://trac-hacks.org/wiki/SqlQueryMacro

A work-around is also appreciated.

Attachments (0)

Change History (11)

comment:1 by Remy Blank, 9 years ago

Milestone: 1.0

That's a nice idea.

comment:2 by anonymous, 9 years ago

Do you have any work-arounds to suggest in the interim? Thanks!

comment:3 by itamarost@…, 9 years ago

Cc: itamarost@… added

That's an interesting idea.

Could be invaluable when including spreadsheets in wiki (plugin / macro).

comment:4 by Christian Boos, 9 years ago

Milestone: 1.0unscheduled

Milestone 1.0 deleted

comment:5 by Christian Boos, 9 years ago

Milestone: triagingnext-major-0.1X

comment:6 by Christian Boos, 9 years ago

#9469 was closed as duplicate. It provided a link to sorttable, though we'll probably pick something jQuery based instead, like tablesorter, or roll our simpler own.

comment:7 by mtrocme, 7 years ago

That would be really nice indeed. Could you please tell us how far we are today? Cheers, M

comment:8 by mtrocme, 7 years ago

Knock, knock… Is there anyone here? Cheers, M

in reply to:  7 comment:9 by Peter Suter, 7 years ago

Replying to mtrocme:

Could you please tell us how far we are today?

Unfortunately so far no one has been interested enough in this feature to start working on it.

You could try a hack / plugin I just created: th:TableSorterPlugin As comment:6's proposed it's based on tablesorter. That seems to have a few downsides though. For example it doesn't work with normal wiki tables as it requires THEAD tags that are not generated there. So I'd say it's not likely to be included in Trac.

But you'd be welcome to fix / improve this.

comment:10 by anonymous, 7 years ago

*push* would be nice…

Regards, Karim

comment:11 by anonymous, 6 years ago

Last edited 6 years ago by Ryan J Ollos (previous) (diff)

Modify Ticket

Change Properties
Set your email in Preferences
Action
as new The ticket will remain with no owner.
The ticket will be disowned.
as The resolution will be set.
The owner will be changed from (none) to anonymous.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.