mirror of
https://github.com/Mottie/tablesorter.git
synced 2024-11-15 23:54:22 +00:00
Docs: add column widget to demo
This commit is contained in:
parent
115f506c41
commit
a6b87c7882
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user