Here is what I had to do to get tablesorter work for me after changin
table body:

        var currSort = $("#myTable")[0].config.sortList; //save
current sorting

        setData(data); //update table with new data

        $("#myTable").trigger("update");  //refresh sorting cache
        $("#myTable").tablesorter();
        $("#myTable").tablesorter();  // had to do that twice for
column sorting to work in both directions
        $("#myTable").trigger("sorton", [currSort]);

Hope that helps.


On Aug 6, 6:23 am, solow <solow.wes...@gmail.com> wrote:
> nobody?
> i kind of, really need a tablesorter for a dynamically loaded page...
>
> On 5 aug, 04:21, solow <solow.wes...@gmail.com> wrote:
>
> > Hey,
>
> > I'm using table sorter.
>
> >http://tablesorter.com/
>
> > Now, this is great and all, but it doesn't seem to work in dynamically
> > loaded pages.
>
> > Does anyone know a solution for this problem?
>
> > I hope so..
>
> > thanks :)
>
>

Reply via email to