javascript - Sorting multiple columns when I click a column header -
i'm using tablesorter 2.8.1 (mottie's fork), , have html table similar following:
header1 header2 -------- --------- 5 c 1 b 4 1
when click header2, table gets sorted column:
header1 header2 -------- --------- c 1 1 b 4 5
i know can sort both columns simultaneously holding down shift key , clicking header2 , header1, need having both columns sorted when click header2. in other words, need happen when click header2:
header1 header2 -------- --------- 1 c 1 b 4 5
is there anyway can achieve this?
thanks in advance!
Comments
Post a Comment