Is there a way to configure tablesorter headers with identifiers or classes instead of column number?
So instead:
headers:
{ 0: { sorter: 'digit' } ,
1: { sorter: false }
}
I would like to do it as follows:
'some class or id': { sorter: 'digit' } ,
'some class or id': { sorter: false }
And the same for sorting
[[0,0],[1,0]] => would be [['some class',0],['some id',0]]
source
share