I have an html-enabled calculated column that I wanted to transfer to JS Link. The calculated column contains an icon, that when clicked, opens an edit form in a modal box. How do I structure this in JS link?
Here are the details:
- Internal Field Name: "AA01_OpenEditForm"
- Column Display Name: "Update"
Below is the Calculated/Number Column:
"<a href='#' onclick="&"SP.UI.ModalDialog.OpenPopUpPage('mysite/Companies/… src='/SiteAssets/elements/images/edit-file.png' style='height:20px; width:20px;' title='Click this icon to edit or update this Company'>"&"</a>"