Help:Sortable tables: Difference between revisions

Content deleted Content added
MauritsBot (talk | contribs)
Line 378:
 
==== Excluding the first row from sorting ====
{{unclear}}
 
As follows from what was mentioned above, the first row of a table can be made non-sortable (the code <code><s>class="sorttop"</s></code> not being valid) by marking every other row except the first with <code>class="sortbottom"</code>. This first row can either be a normal visible row (to provide annotation for the headers) or a hidden row (with each element marked with <code><nowiki><span style="display:none">...</span></nowiki></code>) to ensure that each column has the desired sort mode.