comparison default/node_modules/tablesaw/demo/colspan-sm.html @ 0:1d038bc9b3d2 default tip

Up:default
author Liny <dev@neowd.com>
date Sat, 31 May 2025 09:21:51 +0800
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:1d038bc9b3d2
1 <!doctype html>
2 <html lang="en">
3 <head>
4 <meta charset="utf-8">
5 <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
6 <meta name="viewport" content="width=device-width, initial-scale=1">
7 <title>TableSaw Column Toggle Table</title>
8
9 <link rel="stylesheet" href="../dist/tablesaw.css">
10 <link rel="stylesheet" href="demo.css">
11 <link rel="stylesheet" href="//filamentgroup.github.io/demo-head/demohead.css">
12 <style>
13 th,
14 td {
15 border: 1px solid #000;
16 }
17 </style>
18 <script src="../dist/tablesaw.js"></script>
19 <script src="../dist/tablesaw-init.js"></script>
20 <script src="//filamentgroup.github.io/demo-head/loadfont.js"></script>
21 </head>
22 <body>
23 <div class="demo-header">
24 <div class="company">
25 <img src="http://filamentgroup.com/images/fg-logo-positive-sm-crop.png">
26 </div>
27 <div class="details">
28 <h1 class="description-container">Demo of <span class="repo-name">Tablesaw</span>
29 <span class="description">A group of plugins for responsive tables.</span>
30 </h1>
31 <ul class="outbound-links">
32 <li><a href="https://github.com/filamentgroup/tablesaw">Code</a></li>
33 <li><a href="https://github.com/filamentgroup/tablesaw/issues">Issues</a></li>
34 </ul>
35 </div>
36 </div>
37 <div class="nav-container">
38 <div class="docs-globalnav">
39 <nav class="docs-nav">
40 <a href="kitchensink.html" class="current">Kitchen Sink</a>
41 <a href="modeswitch.html">Mode Switch</a>
42 <a href="sort.html">Sortable</a>
43 <a href="stack.html">Stack</a>
44 <a href="stackonly.html">Stack Only</a>
45 <a href="swipe.html">Swipe Table</a>
46 <a href="toggle.html">Toggle</a>
47 </nav>
48 </div>
49 </div>
50 <div class="docs-main">
51 <h2>Colspans</h2>
52 <table class="tablesaw" data-tablesaw-mode="swipe" data-tablesaw-minimap data-tablesaw-mode-switch>
53 <thead>
54 <tr>
55 <th data-tablesaw-priority="1">Header 1</th>
56 <th data-tablesaw-priority="1">Header 2</th>
57 <th data-tablesaw-priority="1">Header 3</th>
58 <th data-tablesaw-priority="2">Header 4</th>
59 <th data-tablesaw-priority="2">Header 5</th>
60 </tr>
61 <tr>
62 <th data-tablesaw-priority="1">Header 1</th>
63 <th data-tablesaw-priority="1" colspan="2">Header 2,3</th>
64 <th data-tablesaw-priority="2">Header 4</th>
65 <th data-tablesaw-priority="2">Header 5</th>
66 </tr>
67 </thead>
68 <tbody>
69 <tr>
70 <td>1</td>
71 <td>2</td>
72 <td>3</td>
73 <td>4</td>
74 <td>5</td>
75 </tr>
76 <tr>
77 <td colspan="2">1,2</td>
78 <td>3</td>
79 <td colspan="2">4,5</td>
80 </tr>
81 </tbody>
82 </table>
83 </div>
84
85 </body>
86 </html>