Ich habe eine Tabelle, die ich mit jquery Plugin Tablesorter sortiere. Hier möchte ich vermeiden, dass die erste Zeile {class = "avoid-sort"} sortiert wird, wenn eine Spalte zum Sortieren ausgewählt ist. Beispiel:Vermeiden/deaktivieren Sie einige bestimmte Zeilen aus dem Sortierprozess mit jQuery tablesorter.js
<thead>
<tr>
<th class="header">#</th>
<th class="header">Purchase Date</th>
<th class="header">Course Name</th>
<th class="header">Amount(in $)</th>
<th class="header">User Name</th>
<th class="header">Share</th>
<th class="header">Net Revenue [$236.41]</th>
</tr>
</thead>
<tbody>
<tr class="avoid-sort">
<th colspan="7">Total Revenue</th>
<td>236.41</td>
</tr>
<tr>
<td>1</td>
<td>January 3rd, 2013</td>
<td>Tackle Certification</td>
<td>50</td>
<td>Khushi Jha</td>
<td>35</td>
<td>33.69</td>
</tr>
<tr>
<td>2</td>
<td>January 3rd, 2013</td>
<td>Flag Certification</td>
<td>100</td>
<td>Pay</td>
<td>70</td>
<td>67.67</td>
</tr>
<tr>
<td>3</td>
<td>January 3rd, 2013</td>
<td>Tackle Certification</td>
<td>50</td>
<!-- <td>-->
<!--</td>-->
<td>Pay</td>
<td>35</td>
<td>33.69</td>
</tr>
tr class = "vermeiden zu sortieren" sollte nicht kommen in Sortieranlagen!
Bitte helfen Sie !!
können Sie nicht verwenden jQuery ': nicht() '? –