Currency render with currency sign form other field
Currency render with currency sign form other field
andresendo
Posts: 5Questions: 3Answers: 0
Hi,
acutally i make this for currency fields:
render:
$.fn.dataTable.render.number( '.', ',', 2, '',' €' )
This works perfect.. now i want the currency sign (€ or $) form a other json fields... so i can display different currencys in one table...
any idea? thanks!!!!
This discussion has been closed.
Answers
Ok, i have found the solution:
render: function ( data, type, full, meta ) {
return data + ' ' + full['waehrungszeichen'];
}