FileUpload and ServerSide processing incompatible?
FileUpload and ServerSide processing incompatible?
hello i was just trying to use editor, on tip from a friend, but i think that i found a critical bug:
https://editor.datatables.net/examples/advanced/upload.html
if you use the file upload feature in combination with server side processing Datatables PHP Server API will still continue to give in the reply json the full list of the "files" table that, and does not limit on the record shown, looking at the future when having like 1000+ rows can result in a lot of unuseful transmitted data on each request.
is there a way to limit the file list to the shown records? am i doing something wrong?
This question has an accepted answers - jump to answer
Answers
just found this discussion from 2016,
https://datatables.net/forums/discussion/37735/files-array#latest
so nothing changed?
Currently no, the server-side processing filtering does not interface with the list of files. It would need to get the file ids and then query the database for them. That does seem like a good idea and I've added it to my list. Thanks for bringing that up.
Regards,
Allan
ETA for a future fix?
Planned for Editor 1.8, although we don't know when that will be released yet I'm afraid.
Allan