Gibt es vorhandene Bibliotheken für die Tabellensortierung oder gibt es eine Möglichkeit, tablesorter so zu konfigurieren, dass alle zwei Zeilen sortiert werden? Alternativ gibt es eine bessere Möglichkeit, meine Tabelle so auszudrücken, dass die standardmäßige Zeilensortierung funktioniert.Gruppieren von Zeilen mit clientseitigem HTML-Tabellensortieren
Ich habe eine HTML-Tabelle, die so etwas wie diese
<table>
<thead>
<tr>
<th>Header 1</th>
<th>Header 2</th>
</tr>
</thead>
<tbody>
<tr>
<td>Some Data: 1</td>
<td>Some More Data:1 </td>
</tr>
<tr>
<td colspan="2">Some text about the above data that puts it in context and visually spans under both of the cells above so as not to create a weird looking table</td>
</tr>
<tr>
<td>Some Data: 2</td>
<td>Some More Data: 2</td>
</tr>
<tr>
<td colspan="2">Some text about the above data 2 set that puts it in context and visually spans under both of the cells above so as not to create a weird looking table</td>
</tr>
</tbody>
</table>
nach einem Weg, ich bin auf der Suche auf den Tisch, so dass die Tabelle zu sortieren sieht durch die Datenzeilen sortiert, aber die Zeile mit der colspan reist mit seinen Daten und wird nicht getrennt sortiert.
Wow, danke für das Graben und die freie Arbeit! –