0
|
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 Sortable 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
|
|
13 <script src="../dist/tablesaw.js"></script>
|
|
14 <script src="../dist/tablesaw-init.js"></script>
|
|
15 <script src="//filamentgroup.github.io/demo-head/loadfont.js"></script>
|
|
16 </head>
|
|
17 <body>
|
|
18 <div class="demo-header">
|
|
19 <div class="company">
|
|
20 <img src="http://filamentgroup.com/images/fg-logo-positive-sm-crop.png">
|
|
21 </div>
|
|
22 <div class="details">
|
|
23 <h1 class="description-container">Demo of <span class="repo-name">Tablesaw</span>
|
|
24 <span class="description">A group of plugins for responsive tables.</span>
|
|
25 </h1>
|
|
26 <ul class="outbound-links">
|
|
27 <li><a href="https://github.com/filamentgroup/tablesaw">Code</a></li>
|
|
28 <li><a href="https://github.com/filamentgroup/tablesaw/issues">Issues</a></li>
|
|
29 </ul>
|
|
30 </div>
|
|
31 </div>
|
|
32 <div class="nav-container">
|
|
33 <div class="docs-globalnav">
|
|
34 <nav class="docs-nav">
|
|
35 <a href="kitchensink.html">Kitchen Sink</a>
|
|
36 <a href="modeswitch.html">Mode Switch</a>
|
|
37 <a href="sort.html" class="current">Sortable</a>
|
|
38 <a href="stack.html">Stack</a>
|
|
39 <a href="stackonly.html">Stack Only</a>
|
|
40 <a href="swipe.html">Swipe Table</a>
|
|
41 <a href="toggle.html">Toggle</a>
|
|
42 <a href="checkall.html">Check All</a>
|
|
43 </nav>
|
|
44 </div>
|
|
45 </div>
|
|
46 <div class="docs-main">
|
|
47 <h2>Sortable Table</h2>
|
|
48 <h3 class="docs">Default appearance (with optional sortable-switch)</h3>
|
|
49
|
|
50 <table class="tablesaw" data-tablesaw-mode="columntoggle" data-tablesaw-sortable data-tablesaw-sortable-switch>
|
|
51 <thead>
|
|
52 <tr>
|
|
53 <th scope="col" data-tablesaw-priority="persist" data-tablesaw-sortable-col rowspan="2">Movie Title</th>
|
|
54 <th scope="col" data-tablesaw-priority="2" data-tablesaw-sortable-col data-tablesaw-sortable-default-col rowspan="2">Rank</th>
|
|
55 <th scope="col" data-tablesaw-priority="4" colspan="3">Misc</th>
|
|
56 </tr>
|
|
57 <tr>
|
|
58 <th scope="col" data-tablesaw-sortable-col style="text-align: right; text-transform: uppercase;">Year</th>
|
|
59 <th scope="col" data-tablesaw-sortable-col><abbr title="Rotten Tomato Rating">Rating</abbr></th>
|
|
60 <th scope="col" data-tablesaw-sortable-col>Gross</th>
|
|
61 </tr>
|
|
62 </thead>
|
|
63 <tbody>
|
|
64 <tr>
|
|
65 <td class="title"><a href="http://en.wikipedia.org/wiki/Avatar_(2009_film)">Avatar</a></td>
|
|
66 <td>1</td>
|
|
67 <td style="text-align: right">2009</td>
|
|
68 <td>83%</td>
|
|
69 <td>$2.7B</td>
|
|
70 </tr>
|
|
71 <tr>
|
|
72 <td class="title"><a href="http://en.wikipedia.org/wiki/Titanic_(1997_film)">Titanic</a></td>
|
|
73 <td>2</td>
|
|
74 <td style="text-align: right">1997-12-24</td>
|
|
75 <td>88%</td>
|
|
76 <td>$2.1B</td>
|
|
77 </tr>
|
|
78 <tr>
|
|
79 <td class="title"><a href="http://en.wikipedia.org/wiki/The_Avengers_(2012_film)">The Avengers</a></td>
|
|
80 <td>3</td>
|
|
81 <td style="text-align: right">2012</td>
|
|
82 <td>2%</td>
|
|
83 <td>$1.5B</td>
|
|
84 </tr>
|
|
85 <tr>
|
|
86 <td class="title"><a href="http://en.wikipedia.org/wiki/Harry_Potter_and_the_Deathly_Hallows_%E2%80%93_Part_2">Harry Potter and the Deathly Hallows—Part 2</a></td>
|
|
87 <td>4</td>
|
|
88 <td style="text-align: right">2011</td>
|
|
89 <td>96%</td>
|
|
90 <td>$1.3B</td>
|
|
91 </tr>
|
|
92 <tr>
|
|
93 <td class="title"><a href="http://en.wikipedia.org/wiki/Frozen_(2013_film)">Frozen</a></td>
|
|
94 <td>5</td>
|
|
95 <td style="text-align: right">2013-01-01</td>
|
|
96 <td>89%</td>
|
|
97 <td>$1.2B</td>
|
|
98 </tr>
|
|
99 <tr>
|
|
100 <td class="title"><a href="http://en.wikipedia.org/wiki/Iron_Man_3">Iron Man 3</a></td>
|
|
101 <td>6</td>
|
|
102 <td style="text-align: right">2013-01-02</td>
|
|
103 <td>78%</td>
|
|
104 <td>$1.2B</td>
|
|
105 </tr>
|
|
106 <tr>
|
|
107 <td class="title"><a href="http://en.wikipedia.org/wiki/Transformers:_Dark_of_the_Moon">Transformers: Dark of the Moon</a></td>
|
|
108 <td>7</td>
|
|
109 <td style="text-align: right">2011</td>
|
|
110 <td>36%</td>
|
|
111 <td>$1.1B</td>
|
|
112 </tr>
|
|
113 <tr>
|
|
114 <td class="title"><a href="http://en.wikipedia.org/wiki/The_Lord_of_the_Rings:_The_Return_of_the_King">The Lord of the Rings: The Return of the King</a></td>
|
|
115 <td>8</td>
|
|
116 <td style="text-align: right">2003</td>
|
|
117 <td>95%</td>
|
|
118 <td>$1.1B</td>
|
|
119 </tr>
|
|
120 <tr>
|
|
121 <td class="title"><a href="http://en.wikipedia.org/wiki/Skyfall">Skyfall</a></td>
|
|
122 <td>9</td>
|
|
123 <td style="text-align: right">2012</td>
|
|
124 <td>92%</td>
|
|
125 <td>$1.1B</td>
|
|
126 </tr>
|
|
127 <tr>
|
|
128 <td class="title"><a href="http://en.wikipedia.org/wiki/Transformers:_Age_of_Extinction">Transformers: Age of Extinction</a></td>
|
|
129 <td>10</td>
|
|
130 <td style="text-align: right">2014</td>
|
|
131 <td>18%</td>
|
|
132 <td>$1.0B</td>
|
|
133 </tr>
|
|
134 </tbody>
|
|
135 </table>
|
|
136 </div>
|
|
137 </body>
|
|
138 </html>
|