In table form controls Uncaught Unable to automatically determine field from source.
In table form controls Uncaught Unable to automatically determine field from source.
I am trying to implement something like the "In table form controls". When I click on delete icon the modal appears as expected but I also get an error in the console.
dataTables.editor.js:4117 Uncaught Unable to automatically determine field from source. Please specify the field name. For more information, please refer to https://datatables.net/tn/11
Editor.error @ dataTables.editor.js:4117
__dtFieldsFromIdx @ dataTables.editor.js:6800
(anonymous) @ dataTables.editor.js:6813
each @ VM1252:6950
__dtCellSelector @ dataTables.editor.js:6808
individual @ dataTables.editor.js:6883
Editor._dataSource @ dataTables.editor.js:4950
Editor.inline @ dataTables.editor.js:3123
(anonymous) @ TaskType:421
dispatch @ app.js:323
g.handle @ app.js:323
Answers
I fixed, needed to exclude last column from inline editing
Did you review the troubleshooting steps provided in the link?
https://datatables.net/manual/tech-notes/11
Let us know what you find. If you still need help then please post your Editor and Datatables init code.
Kevin