I have a table sort class that is written as a MooTools Class. It's
available at...
http://www.rickhopkins.com/Grid/Grid.js

It's not super fancy or anything, but it works for me. I named it Grid
because my original intention was to make it more of a Grid the way
Ext Js Grids work. But haven't had the time to finish that part yet.
Anyway, to use it you basically just call:

new Grid($('ID_OF_TABLE_TO_SORT'));

The table has to have correct structure meaning...
<table>
   <caption>Test Sort Table</caption>
   <thead>
      <tr>
         <th class="sort" axis="string">Name</th>
         <th class="sort" axis="int">ID</th>
         <th class="sort" axis="date">Last Login</th>
      </tr>
   </thead>
   <tbody>
      <tr>
         <td>Rick</td>
         <td>555</td>
         <td>8/12/2008</td>
      </tr>
      <tr>
         <td>Jon</td>
         <td>444</td>
         <td>2/10/2008</td>
      </tr>
      <tr>
         <td>Steve</td>
         <td>123</td>
         <td>1/05/2007</td>
      </tr>
   <tbody>
<table>

Let me know if you have any questions...

On Nov 3, 11:31 am, Frank Rossi <[EMAIL PROTECTED]> wrote:
> or look at this:
>
> http://silverscripting.wikidot.com/moodatatable
>
> Am 03.11.2008 um 17:24 schrieb batman42ca:
>
>
>
> > This one doesn't use a framework either but is worth a look.
>
> >http://www.javascripttoolbox.com/lib/table/index.php
>
> > It also has filtering (can auto generate filter values), sorting and
> > pagination.
>
> > On Nov 3, 8:27 am, Quest <[EMAIL PROTECTED]> wrote:
> >> I found this script in the depth of the world wide 
> >> web:http://www.frequency-decoder.com/2008/03/14/unobtrusive-table-filter-
> >> ...
>
> >> It seems to be coded independend from frameworks, but I would  
> >> prefer a
> >> script coded for mootools.
>
> >> Has anyone seen a script like this for mootools?
>
> >> I like the idea to combine table pagination, filtering and sorting in
> >> one script.
>
>
>
>  smime.p7s
> 5KViewDownload

Reply via email to