Display string 'NO' as the string rather than boolean false.

Display string 'NO' as the string rather than boolean false.

gvollandgvolland Posts: 3Questions: 2Answers: 0

Hi, I had asked this question before but didn't get any responses.
I am using datatables 1.10 to display a list of countries and their country codes. The countryCode for Norway is NO.

When the data is displayed in the datatable, "NO" is coming up as false. Is there something I can do to make the column show the actual string rather than the boolean value.

Thanks,
Gary

This question has an accepted answers - jump to answer

Answers

  • allanallan Posts: 63,498Questions: 1Answers: 10,471 Site admin
    Answer ✓

    Use columns.render to transform the data from one form into another.

    Allan

  • gvollandgvolland Posts: 3Questions: 2Answers: 0

    Hi Allan,
    Thank you for the quick response.

    Gary

This discussion has been closed.