finding calender.png
finding calender.png
Recently I've downloaded the latest versions of DataTables and Editor to update a project. I'm getting a 404 Not Found error on the image file calender.png. From the previous version of Editor, I was able to edit the file dataTables.editor.js to specify the dateImage property, but with this version of Editor 1.3.1, I'm not able to do that. I don't know which file is trying to load the image file. I thought perhaps I could programmatically tell Editor to load the image like so:
$(document).ready(function() {
editor = new $.fn.dataTable.Editor( {
"ajaxUrl": "../jsp/customdates.jsp",
"domTable": "#example",
"dateImage": "/jed/media/images/calender.png",
"fields": [ {
"label": "First Name:",
"name": "first_name"
// ...
} );
but that didn't work either. The dateImage property is just being ignored. Please advise.
Alan
This question has an accepted answers - jump to answer
Answers
Hi Alan,
dateImage
is a field property of the date field type. You need to put the definition in the field object: https://editor.datatables.net/reference/field/date .Allan
That figures. It had to be something simple didn't it. That works. I'm going to be checking all my other examples on the JED website against the latest versions of DataTables and Editor and TableTools. If I come across any other anomalies, I'll let you know. Thanks.