Using Editor with render or fnCreatedCell edit original value
Using Editor with render or fnCreatedCell edit original value
Hi, I am using Datatable Editor but I am also using columnDefs
render / fnCreatedCell to make it pretty and whatnot (making a link is another example). When editing the row, I am getting the rendered value and not the original value of the table. How to fix that? I tried to look on the forum, I am sure it is somewhere...
This question has an accepted answers - jump to answer
Answers
Yep, I definitely wouldn't expect that, see example here - the 'age' field shows the unrendered version in the edit box (as it came from the server).
Could you look at that, please, and see if it helps. If it's still not working for you, please can you update my example, or link to your page, so that we can see the problem.
Cheers,
Colin
@colin Thank you so much! type === 'display' is the answer.