Help talk:Table/Archive 7
Appearance
![]() | This is an archive of past discussions about Help:Table. Do not edit the contents of this page. If you wish to start a new discussion or revive an old one, please do so on the current talk page. |
Archive 1 | ← | Archive 5 | Archive 6 | Archive 7 | Archive 8 | Archive 9 | Archive 10 |
Sortable table with white background and lines?
Hi
Is there a way of having a sortable table but in the same style of a simple table with no background colour or lines?
Thanks
John Cummings (talk) 09:15, 11 October 2015 (UTC)
- Just omit the
wikitable
class. Withclass="wikitable sortable"
:
Alphabetic | Numeric | Date | Unsortable |
---|---|---|---|
d | 20 | 2008-11-24 | This |
b | 8 | 2004-03-01 | column |
a | 6 | 1979-07-23 | cannot |
c | 4 | 1492-12-08 | be |
e | 0 | 1601-08-13 | sorted. |
- With only
class="sortable"
:
Alphabetic | Numeric | Date | Unsortable |
---|---|---|---|
d | 20 | 2008-11-24 | This |
b | 8 | 2004-03-01 | column |
a | 6 | 1979-07-23 | cannot |
c | 4 | 1492-12-08 | be |
e | 0 | 1601-08-13 | sorted. |
- Hi PrimeHunter, thanks so much, you've saved me a lot of time :) John Cummings (talk) 11:08, 11 October 2015 (UTC)