Docs: add column widget to demo

This commit is contained in:
Mottie 2014-05-13 16:41:00 -05:00
parent 115f506c41
commit a6b87c7882

View File

@ -41,12 +41,13 @@
<!-- Tablesorter: required --> <!-- Tablesorter: required -->
<link rel="stylesheet" href="../css/theme.blue.css"> <link rel="stylesheet" href="../css/theme.blue.css">
<script src="../js/jquery.tablesorter.js"></script> <script src="../js/jquery.tablesorter.js"></script>
<script src="../js/jquery.tablesorter.widgets.js"></script>
<script id="js">$(function() { <script id="js">$(function() {
$("table").tablesorter({ $("table").tablesorter({
theme: 'blue', theme: 'blue',
widgets: ['zebra'] widgets: ['zebra', 'columns']
}); });
// sort using data-sort attribute value // sort using data-sort attribute value