Nobody has a clue?

On Aug 27, 8:03 pm, Serb <misogu...@gmail.com> wrote:
> Right, but that's for the default on-page-load sort, so to speak...
> I'm talking about all the other on-demand, on-header-click sorts -
> they all default to ascending for some reason...
>
> On Aug 27, 7:12 pm, marksimon <zen...@gmail.com> wrote:
>
> > $(document).ready(function() {
> >      $(".tablesorter").tablesorter({
> >          sortList: [[0,1]], widthFixed: true, widgets: ['zebra']});});
>
> > the sortList parameter takes two arguments: column, and direction. So
> > sorting 0,1 sorts on the first column descending. 1,0 would be second
> > column descending. That's on the page so I'm not sure it's exactly
> > what your looking for (default?)
>
> > On Aug 27, 12:47 pm, Crazy Serb <crazys...@gmail.com> wrote:
>
> > > Ok, I can't figure this out...
>
> > > The default sort (when clicking on any of the headers in the
> > > tablesorter table) is ascending.
>
> > > Now, I want to change that to descending for ALL columns, not just the
> > > initial sort column (defined in sortList). I've tried editing
> > > sortInitialOrder parameter in the .js itself, and nothing. I've tried
> > > adding it as a parameter in my html page when defining and assigning
> > > tablesorter, and nothing.
>
> > > What am I missing? And how do I accomplish this?
>
>

Reply via email to