return filenames in upload-many
return filenames in upload-many
https://editor.datatables.net/examples/advanced/upload-many.html
How do I change the code below so it returns a url link to each file and not just the number of files ?
Thanks in advance
{
data: "files",
render: function ( d ) {
return d.length ?
d.length+' image(s)' :
'No image';
},
title: "Image"
}
This discussion has been closed.
Answers
You'd probably need to use
file()with aforloop that runs over thedarray. Assuming the URL information is stored in the database and you are returning it as part of the data, then it should be available there.Allan