Using the column type attachment, you will only be able to add one attachment per cell, but as a workaround you can upload your documents, set the column type as multi-line string and add hyperlinks to the file destination. In this way you will be able to add multiple documents to a single cell.
Hi,
I want to attach 2 or 3 files(pdf or jpg) to my wpdatatables columns(not just one file).
How to do that?
Hi Adrian
Thank you for reaching out to us.
Using the column type attachment, you will only be able to add one attachment per cell, but as a workaround you can upload your documents, set the column type as multi-line string and add hyperlinks to the file destination. In this way you will be able to add multiple documents to a single cell.
Use this code to add the hyperlink
<a href="LINK_HERE" target="_blank">Text_to_display </a>