Is it possible to edit a datatable field that's not visible?
Is it possible to edit a datatable field that's not visible?
stephenjnj
Posts: 6Questions: 1Answers: 0
The save just hangs for me.
This discussion has been closed.
Answers
Is is not visible in Datatables or the Editor?
How are you editing the field?
Do you get any errors in the browser's console?
Have you looked at the AJAX response in the browser's network tools?
Kevin
I'm using the Editor, no Ajax, just straight Editor. Works fine with visible fields. No errors, Nothing complicated, just hangs.
One more thing, I'm editing an in memory array of objects.
Okay, there is a console error:
Uncaught TypeError: extender is not a function
at Object.<anonymous> (http://192.168.46.55:8081/static/jquery-datatable/dataTables.editor.js:10:130950)
at Function.each (http://192.168.46.55:8081/static/jquery/jquery.js:360:19)
at Editor.(anonymous function).(anonymous function) [as _submitTable] (http://192.168.46.55:8081/static/jquery-datatable/dataTables.editor.js:10:130641)
at Editor.(anonymous function).(anonymous function) [as _submit] (http://192.168.46.55:8081/static/jquery-datatable/dataTables.editor.js:10:129644)
at send (http://192.168.46.55:8081/static/jquery-datatable/dataTables.editor.js:10:90525)
at Editor.(anonymous function).(anonymous function) [as submit] (http://192.168.46.55:8081/static/jquery-datatable/dataTables.editor.js:10:90797)
at Editor.action (http://192.168.46.55:8081/static/jquery-datatable/dataTables.editor.js:10:156765)
at HTMLButtonElement.<anonymous> (http://192.168.46.55:8081/static/jquery-datatable/dataTables.editor.js:10:73403)
at HTMLButtonElement.dispatch (http://192.168.46.55:8081/static/jquery/jquery.js:5183:27)
at HTMLButtonElement.elemData.handle (http://192.168.46.55:8081/static/jquery/jquery.js:4991:28)
Haven't seen that error before but found this thread:
https://datatables.net/forums/discussion/51087
Not sure if it applies to your situation.
Kevin
I see there's a forum question about something like this using datatables 1.10.13 (that's my version) that says update to 1.10.18. I'll try that.
Switching up to datatables 1.10.18 fixed the problem!