Skip to content

Using sortReset together with ajaxProcessing may not work properly  #1404

@DaveGahan

Description

@DaveGahan

Hi (and once again thanks for this great tablesorter)

I've added a reset function like this :

function raz(){
$("table").trigger('search', false);
$("table").trigger('filterReset');
$("table").trigger('sortReset');
}

Everything's right except that initial sort is not applied (second column sort won't go to initial settings) :

Before reset function call :
image

After :
image

initial sort parameter is : sortList: [[1,1]]

Maybe I'm doing something wrong ?

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions