Null dates in 1.10

Null dates in 1.10

lyndonwillyndonwil Posts: 40Questions: 5Answers: 0

Prior to 1.10, i handled Null dates by using fnRender

"mRender": function (data, type, row) {
if (moment(data.trim()).isValid()){
var DateToCheck = moment(data.trim()).format('DD/MM/YY');
return(DateToCheck);
}
else
{
return '';
}
},"searchable": false, "class": "center", "targets": [ 3,4,5,6]

fnrender isn't in 1.10 and using render doesn't work either. Is there something i've missed?

Lynd

This question has an accepted answers - jump to answer

Answers

This discussion has been closed.