Possible: absolutely Already out there: perhaps, but who knows
It wouldn't be that hard to code: - User clicks row - Create a new row in a jQuery object, like: var $SortedRow = $("<tr></ tr>"); - Loop through columns of clicked row making a hash table of value / index of column, sorted by value - Create new <td>'s and add then to the newly created row - Use "insertBefore" to add the new row before the clicked row - Use ".remove" to remove the clicked row All that is depending of course that the <td>'s are simple cells with just data (and don't have events wired to them and what not) On Oct 5, 1:14 am, nate <tresbordo...@gmail.com> wrote: > for example when row two is clicked I would like the table to reorder > a, b, c, d > > <table> > <tr> > <td>col 1</td> > <td>col 2</td> > <td>col 3</td> > <td>col 4</td> > </tr> > > <tr> > <td>b</td> > <td>a</td> > <td>d</td> > <td>c</td> > </tr> > <tr> > <td>z</td> > <td>x</td> > <td>y</td> > <td>w</td> > </tr> > </table>