1 <!DOCTYPE HTML PUBLIC
"-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
4 <title>Sortable Tables from Scratch with MochiKit
</title>
5 <link href=
"sortable_tables.css" rel=
"stylesheet" type=
"text/css" />
6 <script type=
"text/javascript" src=
"../../MochiKit/MochiKit.js"></script>
7 <script type=
"text/javascript" src=
"sortable_tables.js"></script>
11 Sortable Tables from Scratch with MochiKit
14 This is an example of how one might do sortable tables in
15 an inobtrusive manner. The data is supplied by the server
16 and is already in the table.
19 For a detailed description of what happens under the hood,
21 <a href=
"sortable_tables.js" class=
"view-source">sortable_tables.js
</a>.
25 <a href=
"index.html" class=
"view-source">index.html
</a> |
26 <a href=
"sortable_tables.js" class=
"view-source">sortable_tables.js
</a>
29 <table id=
"sortable_table" class=
"datagrid">
32 <th mochi:
format=
"str">Domain Name
</th>
33 <th mochi:
format=
"isodate">Creation Date
</th>
34 <th mochi:
format=
"isodate">Expiry Date
</th>
35 <th mochi:
format=
"istr">Organization Name
</th>
38 <tfoot class=
"invisible">
51 <td>pythonmac.org
</td>
57 <td>undefined.org
</td>
60 <td>Robert J Ippolito
</td>
66 <td>Python Software Foundation
</td>