I have a simple table with header and I'm using a DataTables plugin for it:
$('#uc-dashboard-top-customers .uc-dashboard-sortable').dataTable({
'aaSorting': [[1, "desc"]],
'sPaginationType': 'full_numbers'
});
In second column I have numerical values like 124.012, 9, 8.15, 16.5048
and so on. Now I need to order that column by numerical value, but format them as a currency, e.g 1224,21 €
. I could format the values server side, but then it will be sorted as a string by Datatables.
Is there a way to define format for specific column?