We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

Creating a Preview of Documents

Hi Team, 

I have a requirement to show a preview of the document. I was able to achieve the task to some extent by modifying the HTML of the component, but it doesn't appear to be a clean solution. Hence, I was wondering if the component internally supports preview of documents. I could not find any such material in the official document as well. 

Any leads would be much appreciated. 

Thanks. 



1 Reply

DS Dhanush Sekar Syncfusion Team April 4, 2024 04:55 AM UTC

Hi Ankit,


To achieve this requirement, you can open the document with read only mode.

Please refer the below sample for your reference

Demo: DocumentEditor · Document List · Essential JS 2 for Angular · Syncfusion

StackBlitz sample: Pnpqhj (forked) - StackBlitz


Regards,

Dhanush Sekar


Loader.
Live Chat Icon For mobile
Up arrow icon