Skip to content

Passing sortList alongside the sort events#22

Open
diogobaeder wants to merge 3 commits into
christianbach:masterfrom
diogobaeder:master
Open

Passing sortList alongside the sort events#22
diogobaeder wants to merge 3 commits into
christianbach:masterfrom
diogobaeder:master

Conversation

@diogobaeder

Copy link
Copy Markdown

Passing the sortList when sortEnd and sortStart are triggered, so that the user can do something with the current sorting list (like saving the state for the end user).

I opted by cloning the original sortList array before passing it to the event handlers, to avoid having the array changed inadvertedly, which could mess with tablesorter.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant