Jump to navigation
Jump to search
Notmyhandle (talk | contribs) (→Sortable tables: clarified table label) |
m (→Sortable tables: rewording) |
||
Line 136: | Line 136: | ||
===Sortable tables=== | ===Sortable tables=== | ||
If your table contains a lot of numeric information, or things which the reader may want to look at in alphabetic order, you can put the "<code>sortable=1</code>" parameter into the {{t|prettytable}} at the top of your table | If your table contains a lot of numeric information, or things which the reader may want to look at in alphabetic order, you can put the "<code>sortable=1</code>" parameter into the {{t|prettytable}} at the top of your table. This makes headings at the top of the table acquire sort buttons. To suppress sorting for a single column, use the "unsortable" class in that column's header cell (see [[../Advanced tables#Table sorting|Advanced tables]] for details). | ||
{|{{prettytable|sortable=1}} | {|{{prettytable|sortable=1}} |