Data for file() from javascript

Data for file() from javascript

ACL TechnologyACL Technology Posts: 5Questions: 2Answers: 0

Hello, is there way to somehow insert data about uploaded files to datatables instance when using javascript array data source?

I am using own server code and only JS part of Datatables+Editor.

When using ajax data source, then there is no problem (ajax request returns {data: [...], files: [...]} and i can use file() method to get info about file with specified id in display function.

I cant get it to work when using javascript data source. I can pass only array for row data.

This discussion has been closed.