dataTable.render problem
dataTable.render problem
BJW86
Posts: 30Questions: 11Answers: 0
Hi
I am using dataTable.render to reformat the date/time column, works ok here: http://live.datatables.net/yupikeqi/1/edit
When I export the code to a different browser/viewer the table won't load anymore, anyone any idea what I am doing wrong?
Thanks,
Bruce
Answers
Have you included the same sources? We'd need to see the case where it's failing to be able to diagnose...
Colin
Thanks for your reply Colin, yes I have the same sources. Works fine if I remove dataTables.render line, tried on a few different browsers with no luck. Quite new to dataTables so not sure what the problem could be.
Thanks
Bruce
Hi Bruce,
My guess is that you are using a version prior to DataTables 1.12. Might that be right? You can use our debugger to check the versions on your page.
The other possibility is that Moment.js hasn't been loaded on the page.
Allan
Hi Allan, yes it was a problem with the moment.js source, managed to fix it now, thanks for your help.
Bruce