UploadMany Update Not Working
UploadMany Update Not Working

May we ask what should be the problem here. Multiple files is working when uploading (Createbutton).However, when editing or changing the files/images it is not working. No error message, and the data (files) on the ajax is not changing.
This discussion has been closed.
Answers
Are you able to link to your page so we can take a look, please? If not, could you post the JSON returned from the server when you're editing those files, please.
Colin
CONTINUATION:
Hi Sir @collin
Hi,
Could you show me what the JSON response from the server is when you upload a file? Or even better, can you give me a link to your page so I can take a look at it?
Thanks,
Allan
CONTINUATION:
Hi Sir @collin and Sir @allan. Thanks in advance
That looks like the data when a draw is requested rather than the JSON response from the server related to the Upload.
Could you give me a link to your page please?
Thanks,
Allan
Hi Sir @collin and Sir @allan, the problem was example: I have 2 attachments on create then when I try to update and remove 1 attachment it's not working, 1 attachment still on the page and the json response still have 2 attachments. Please reply. Thank you!
As Allan, please could you link to your page so we can take a look? It'll help us understand the responses coming back from the server.
Colin
Sorry but I don't have server to upload my work, I'm okay to remote my computer if possible. Thanks
When you upload two files on edit, Editor will send a request to the server - can you show me the JSON return from when you select the files please?
Also, does this example for you on upload file upload when editing?
Thanks,
Allan
Hi Sir @allan, this the files when I try to delete 2 attachments and add another 1 attachment
and this would be the return json, as you can see on the image below I already deleted the 1st and 2nd attachments still at json return
I'm using Datatables Editor Version 1.10.15
That's the DataTables version. 1.10.21 is the current version, so it might be worth updating, but I doubt it will effect this issue.
What is the Editor version? You can check using
$.fn.dataTable.Editor.version
. Also, what version of the server-side libraries are you using?Thanks,
Allan