Map values in a column
Map values in a column
![mihalisp](https://secure.gravatar.com/avatar/67e9c14fe785e43491e8b6bb24a9646a/?default=https%3A%2F%2Fvanillicon.com%2F67e9c14fe785e43491e8b6bb24a9646a_200.png&rating=g&size=120)
Hi,
i wonder how i could map-correlate-display in a column other values than the ones from database.
For example,i have values 0 and 1 from DB and i want to display "CORRECT" , "WRONG".
Is this possible with column render?or should i use enum.js?Is there an easier way?
Thank you.
This discussion has been closed.
Answers
columns.render
is a good option for manipulating the displayed data.Kevin
I can't find a way to do it.Can you help me with an example?
Thanks
See if this simple example helps:
http://live.datatables.net/fivuqevu/1/edit
Kevin
Thanks really.