Sort by a specific value

3

I'm using the DataTables plugin and in a column I have the following structure

JSFIDDLE

And by default the plugin creates the default sort order of which I do not know which rule obeys, I would like that when clicking on that column to sort it would sort by the value of class .saldo

How can I do this?

    
asked by anonymous 08.07.2015 / 19:53

1 answer

0

I solved my problem using the data-order attribute that you can customize the value used at the time of the order

Viewed on JSFIDDLE

Documentation

    
08.07.2015 / 22:30