Disable Select2 Ajax Calls on editor.edit
Disable Select2 Ajax Calls on editor.edit
in Editor
Link to test case:
Debugger code (debug.datatables.net): https://debug.datatables.net/ujowuk
Error messages shown: No error messages
Description of problem: I'm using the select2 plugin to assist the user in creating records in a table. However, once the record is created, that field cannot be edited within the table. The user can edit several fields and when any edit does occur a request is sent to my backend via ajax from the select2 field. Is there any way to disable this?
This discussion has been closed.
Answers
You could change the field to be read-only on the edit form. This example here could be used as a template - http://live.datatables.net/duseyuja/1/edit
Colin