Quantcast
Channel: SharePoint 2013 - Development and Programming forum
Viewing all articles
Browse latest Browse all 7589

How to add the preview dialog box to my custom page

$
0
0

Hi experts,

I have a page in SP 2016 with a custom web part. In the web part I create a table using JavaScript to show files in a doc lib, it looks like below, the "Section Title" column is for the file link. 


My question is how can I add the SP built-in preview dialog box (like the dialog box in below screenshot) for each file to my custom table in Section Title column? 

Thanks,

Michael



Viewing all articles
Browse latest Browse all 7589

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>