Display string 'NO' as the string rather than boolean false.
Display string 'NO' as the string rather than boolean false.
gvolland
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
This discussion has been closed.
Answers
Use
columns.render
to transform the data from one form into another.Allan
Hi Allan,
Thank you for the quick response.
Gary