Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Browse files

Updated README to reflect that thead is no longer mandatory, but stil…

…l suggested
  • Loading branch information...
commit 7ebd22145eedce295ea9dcd412eaa29b49cee1d4 1 parent bf1d4ee
@jasonrhodes authored
Showing with 8 additions and 1 deletion.
  1. +8 −1
@@ -19,7 +19,14 @@ Call the appropriate method on the table you want to make sortable:
The table will be sorted when the column headers are clicked.
-Your table must have `thead` and `tbody` elements, and should follow this general format:
+Your table should follow this general format:
+> Note: If you have access to the table markup, it's better to wrap your table rows
+in `<thead>` and `<tbody>` elements (see below), resulting in a slightly faster sort.
+> If you can't use `<thead>`, the plugin will fall back by sorting all `<tr>` rows
+that contain a `<td>` element using jQuery's `.has()` method (ie, the header row,
+containing `<th>` elements, will remain at the top where it belongs).
Please sign in to comment.
Something went wrong with that request. Please try again.