Multiple Column Sorting

Multiple Column Sorting

pjb0515pjb0515 Posts: 7Questions: 0Answers: 0
edited December 2011 in General
I was able to get multiple column sorting to work at table loading with the aaSorting option, but I cannot seem to find a way to accomplish this goal when clicking to select a column to sort.

Pretty much what I want is:

A A
B A
C A
A B
B B
C B

When clicking the first column to sort, use the second column as the primary sort, then the clicked column as the secondary.

Thank you

Replies

  • pjb0515pjb0515 Posts: 7Questions: 0Answers: 0
    So, I have found that I can use fnSort to accomplish the goal required, but I am not sure how to listen for the click of a column header.
This discussion has been closed.