Q: How do I create sortable tables?
Answer
Use the /{table-plus/} macro. You simply put one on each side of a table to make it a sortable table. Then users can click on the column headers to sort the table. Here's an example of how the wiki markup looks:
{table-plus} ||Names||Numbers||Letters||Animals|| |Jane|1|D|Dog| |Bob|2|C|Cat| |Anne|3|B|Hedgehog| |Joe|4|A|Cat| {table-plus}
You can see how the table looks rendered here:
Names | Numbers | Letters | Animals |
---|---|---|---|
Jane | 1 | D | Dog |
Bob | 2 | C | Cat |
Anne | 3 | B | Hedgehog |
Joe | 4 | A | Cat |