Quantcast
Channel: Free community support — DataTables forums
Viewing all articles
Browse latest Browse all 35373

multi-column sort direction using v 1.10.0

$
0
0

Hi everyone !

Using this example http://jsfiddle.net/b2fLye17/17/

When we click the age column , it sorts by age then by salary both in the same direction (age->'asc' & salary->'asc') or ( age->'desc' & salary->'desc').

Is there a way to set the sorting direction so it would be (age column sorted 'asc' (age sorted 'asc' & salary sorted 'desc')) or ((age column sorted 'desc' (age sorted 'desc' & salary sorted 'asc')) ?

The wanted result would invert Garret and Tiger in the example because we first sort by age and then(when same age) by salary but in "reverse"

Thanks !


Viewing all articles
Browse latest Browse all 35373

Trending Articles