Uncaught Could not automatically determine field data. Callback?
Uncaught Could not automatically determine field data. Callback?
Is there a callback for this error?
I use autofill in my tables and some fields are not changeable/selectable. But on a special case it's possible to select not selectable fields, so the the exception will be thrown. Now i want to show a message for this case. Is this possible?
Here is the stack trace:
dataTables.autoFill.min.js:13 Uncaught Could not automatically determine field data. Please see https://datatables.net/tn/11
_editor @ dataTables.autoFill.min.js:13
_update @ dataTables.autoFill.min.js:20
(anonymous function) @ dataTables.autoFill.min.js:10
dispatch @ jquery.min.js:3
r.handle @ jquery.min.js:3
Answers
That error occurs because Editor can't tell what field it should be editing based on the information in the table. You can use the
columns.editField
option, which is described in the tech note the error links to, to tell Editor what field it should be editing.Regards,
Allan