| 1 |
<!-- |
| 2 |
Copyright 2017 The Closure Library Authors. All Rights Reserved. |
| 3 |
|
| 4 |
Use of this source code is governed by the Apache License, Version 2.0. |
| 5 |
See the COPYING file for details. |
| 6 |
--> |
| 7 |
<div id="content"> |
| 8 |
<table id="sortable"> |
| 9 |
<thead> |
| 10 |
<tr><th>alpha</th><th>number</th><th>not sortable</th></tr> |
| 11 |
<tr><th id="not-sortable" colspan="3">cannot sort</th></tr> |
| 12 |
</thead> |
| 13 |
<tbody> |
| 14 |
<tr><td>C</td><td>10</td><td></td></tr> |
| 15 |
<tr><td>A</td><td>10</td><td></td></tr> |
| 16 |
<tr><td>C</td><td>17</td><td></td></tr> |
| 17 |
<tr><td>B</td><td>0</td><td></td></tr> |
| 18 |
<tr><td>C</td><td>3</td><td></td></tr> |
| 19 |
</tbody> |
| 20 |
</table> |
| 21 |
<table id="sortable-2"> |
| 22 |
<thead> |
| 23 |
<tr><th>not sortable 1</th><th colspan="2">not sortable 2</th></tr> |
| 24 |
<tr> |
| 25 |
<th id="sorttable-2-col-1">Col 1</th> |
| 26 |
<th id="sorttable-2-col-2">Col 2</th> |
| 27 |
<th id="sorttable-2-col-3">Col 3</th> |
| 28 |
</tr> |
| 29 |
</thead> |
| 30 |
<tbody> |
| 31 |
<tr><td>4</td><td>5</td><td>6</td></tr> |
| 32 |
<tr><td>1</td><td>2</td><td>3</td></tr> |
| 33 |
<tr><td>3</td><td>1</td><td>9</td></tr> |
| 34 |
</tbody> |
| 35 |
</table> |
| 36 |
<table id="sortable-3"> |
| 37 |
<thead> |
| 38 |
<tr><th id="sortable-3-col">Sortable</th></tr> |
| 39 |
</thead> |
| 40 |
<tbody> |
| 41 |
<tr><td>B</td></tr> |
| 42 |
<tr><td>C</td></tr> |
| 43 |
<tr><td>A</td></tr> |
| 44 |
</tbody> |
| 45 |
<tbody> |
| 46 |
<tr><td>B</td></tr> |
| 47 |
<tr><td>A</td></tr> |
| 48 |
<tr><td>C</td></tr> |
| 49 |
</tbody> |
| 50 |
</table> |
| 51 |
<table id="sortable-4"> |
| 52 |
<thead> |
| 53 |
<tr><th id="sortable-4-col">Sortable</th></tr> |
| 54 |
</thead> |
| 55 |
<tbody> |
| 56 |
<tr><td>11</td></tr> |
| 57 |
<tr><td>Bar</td></tr> |
| 58 |
<tr><td>3</td></tr> |
| 59 |
<tr><td>Foo</td></tr> |
| 60 |
<tr><td>2</td></tr> |
| 61 |
</tbody> |
| 62 |
</table> |
| 63 |
</div> |