Permalink
Browse files

added docs for destroy method

  • Loading branch information...
1 parent 5bb549d commit 1df22309ded9c732941c0257623e4a57e54700f4 @Mottie committed May 11, 2012
Showing with 13 additions and 0 deletions.
  1. BIN README.markdown
  2. +13 −0 docs/index.html
View
Binary file not shown.
View
@@ -1525,6 +1525,19 @@
<td><a href="example-apply-widget.html">Example</a></td>
</tr>
+ <tr id="destroy">
+ <td><a href="#" class="toggle2">destroy</a></td>
+ <td>Use this method to remove tablesorter from the table.
+ <div class="collapsible">
+ <pre class="js">// Remove tablesorter and all classes
+$("table").trigger("destroy");
+
+// Remove tablesorter and all classes but the "tablesorter" class on the table
+$("table").trigger("destroy", [false];</pre></div>
+ </td>
+ <td></td>
+ </tr>
+
</tbody>
</table>

0 comments on commit 1df2230

Please sign in to comment.