Sort one column using another as a tie-breaker

Sort one column using another as a tie-breaker

drew_miragedrew_mirage Posts: 1Questions: 0Answers: 0
edited February 2013 in General
I've gone through the examples, but I can't seem to find anything specific to my needs.

I have a table that I would like to be able to sort on columns 1 or 2 (no problems doing that), but when sorting on column 2, I'd like to use column 1 as a tie-breaker (where I get stumped) but only when sorting on column 2. I still need Column 1 sortable on its own though.

HTML:
[code]


ID#Event TimeEvent Information


AX10022012-12-12 11:45Event Location: 123 Fake St.
AX10012012-12-12 11:45Event Location: 818 Springfield Ave.
AX10032012-12-12 11:45Event Location: 9296 Main St.
AX10042012-12-18 14:30Event Location: 123 Fake St.
AX10052012-12-12 11:00Event Location: 1600 Pennsylvania Ave.
AX10062012-12-24 09:15Event Location: 9296 Main St.


[/code]

I know that you can do a mult-column sort but that requires a shift-click which my users will tend not to do so a single-click solution would be ideal.

Replies

  • allanallan Posts: 63,523Questions: 1Answers: 10,473 Site admin
    edited February 2013
    > a single-click solution would be ideal.

    Use aDataSort for that - you can provide as many column indexes as you want to do a multi-column sort automatically on a column click.

    Allan
This discussion has been closed.