Multiple links in one cell
Multiple links in one cell
floody
Posts: 4Questions: 2Answers: 0
I have a list that is returning items and each item has multiple attachments which I can display e.g.filename and urls in the same row cell. Is it possible to render each url as a hyperlink in the same cell?
This discussion has been closed.
Answers
Sure. What does your data look like?
with the render:function() {} but as Rawland_Hustle says, we need to see your data for one row to know how to help you
Hi all,
Thanks! Here is the structure of a portion of the data (one item).
and the script part.
So what I did (with the help of a friend) is amend the following code which wrapped the results in href tag. So I didnt use the render function. under AttachmentUrl.
attachmentUrl.push("<a href='https://tenant.sharepoint.com" + item.AttachmentFiles.results[x].ServerRelativeUrl + "' target='_blank'>" + item.AttachmentFiles.results[x].FileName + "</a>");