Columns Render Error on Display
Columns Render Error on Display
I am using dataTables with Ajax. I have a column that contains an 'action_date' and in some cases, this will be null. I am formatting this column using moment.js for display. I get the 'datatables.net/tn/4' error. If you clear the dialog, the table will draw correctly, but I can't seem to get the error to stop.
I added the default_content value as suggested on the error page. I have also tried removing the null comparison. Neither of these work.
I have recreated my issue in the following bin: http://live.datatables.net/tedulub/1/edit
The Ajax data in the bin has a date that I was able to use. Obviously, I can't make some of them null, but I left the null logic in my function anyway. I also included my real function in comment, just for reference.
I'm sure I'm missing something obvious, but staring at it for hours isn't working. Thank you for your help.