Map values in a column
Map values in a column
mihalisp
Posts: 127Questions: 22Answers: 0
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.