mRender with sorting based on underlying data?
mRender with sorting based on underlying data?
![pipo75](https://secure.gravatar.com/avatar/a35d1de21e45199cbeeac75f9c390aa5/?default=https%3A%2F%2Fvanillicon.com%2Fa35d1de21e45199cbeeac75f9c390aa5_200.png&rating=g&size=120)
I am using the mRender property for rendering data without altering the underlying data.
It is very usefull but I would like to sort column with underlying data and not with formated string displayed into Table.
Do you know it it exists a property or a solution for doing that?
Thank for your help.
This discussion has been closed.
Answers
found:
"render": function (data, type, full, meta) {
if (type == "display")
{ return format_text_function(data); }
return data; }