mirror of
https://github.com/Mottie/tablesorter.git
synced 2025-01-12 15:24:21 +00:00
Docs: load storage widget in grouping demo. Fixes #1346
This commit is contained in:
parent
3a3b7e9574
commit
74589ee93b
@ -22,7 +22,8 @@
|
||||
}
|
||||
</style>
|
||||
|
||||
<style id="css">tr.group-header td {
|
||||
<style id="css">/* CSS from widget.grouping.css (added v2.28.4) */
|
||||
tr.group-header td {
|
||||
background: #eee;
|
||||
}
|
||||
.group-name {
|
||||
@ -66,9 +67,11 @@ tr.group-header.collapsed td i {
|
||||
<script src="../js/widgets/widget-filter.js"></script>
|
||||
|
||||
<!-- grouping widget -->
|
||||
<!-- <link href="../css/widget.grouping.css" rel="stylesheet"> (added above) -->
|
||||
<script src="../js/parsers/parser-input-select.js"></script>
|
||||
<script src="../js/parsers/parser-date-weekday.js"></script>
|
||||
<script src="../js/widgets/widget-grouping.js"></script>
|
||||
<script src="../js/widgets/widget-storage.js"></script>
|
||||
|
||||
<script id="js">$(function(){
|
||||
|
||||
@ -165,6 +168,7 @@ tr.group-header.collapsed td i {
|
||||
<li>This widget will <strong>only work</strong> in tablesorter version 2.8+ and jQuery version 1.7+.</li>
|
||||
<li>Please do not use this widget in very large tables (it might be really slow) <del>or when your table includes multiple tbodies</del>.<br><br></li>
|
||||
|
||||
<li>In <span class="version updated">v2.28.4</span>, added <code>widget.group.css</code> file into the <code>css</code> folder. It contains the grouping widget css shown on this page.</li>
|
||||
<li>In <span class="version updated">v2.27.6</span>, added <code>group-date-hour</code> group type to the Header Class Names.</li>
|
||||
<li>In <span class="version updated">v2.25.4</span>, the zebra widget is reapplied to the table after opening a collapsed group.</li>
|
||||
<li>In <span class="version">v2.24.1</span>
|
||||
@ -852,13 +856,16 @@ $(function() {
|
||||
<h1>Page Header</h1>
|
||||
<div>
|
||||
<pre class="prettyprint lang-html"><!-- Tablesorter: required -->
|
||||
<link href="../css/theme.blue.css" rel="stylesheet">
|
||||
<script src="../js/jquery.tablesorter.js"></script>
|
||||
<script src="../js/jquery.tablesorter.widgets.js"></script>
|
||||
<link href="css/theme.blue.css" rel="stylesheet">
|
||||
<script src="js/jquery.tablesorter.js"></script>
|
||||
<script src="js/widget-filter.js"></script>
|
||||
<script src="js/widget-storage.js"></script>
|
||||
|
||||
<!-- Grouping widget -->
|
||||
<script src="../js/parsers/parser-input-select.js"></script>
|
||||
<script src="../js/widgets/widget-grouping.js"></script></pre>
|
||||
<link href="css/widget.group.css" rel="stylesheet"> <!-- added v2.28.4 -->
|
||||
<script src="js/parsers/parser-input-select.js"></script>
|
||||
<script src="js/parsers/parser-date-weekday.js"></script>
|
||||
<script src="js/widgets/widget-grouping.js"></script></pre>
|
||||
</div>
|
||||
|
||||
<h1>Script</h1>
|
||||
|
Loading…
Reference in New Issue
Block a user