Currency render with currency sign form other field

Currency render with currency sign form other field

andresendoandresendo Posts: 5Questions: 3Answers: 0
edited January 2016 in Free community support

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!!!!

Answers

  • andresendoandresendo Posts: 5Questions: 3Answers: 0
    edited January 2016

    Ok, i have found the solution:

    render: function ( data, type, full, meta ) {
    return data + ' ' + full['waehrungszeichen'];
    }

This discussion has been closed.