Loading Excel file in another tab

I want to load an excel file which is present on a server. I will download the file from the server using a HTTP request. Now, I want to view this excel file in another tab. How can I do that?

5 Replies

SP Sangeetha Priya Murugan Syncfusion Team December 9, 2020 12:33 PM UTC

HI Manav Chirania, 
 
Thank you for contacting Syncfusion support. 
 
We have checked your reported requirement and you need to open the spreadsheet with opened file in the new window. So, we have prepared the sample that loads the spreadsheet with the loaded file in dialog in a button click event. Please find the link below. 
 
 
Could you please check the above sample and kindly get back to us with the details, whether it satisfies your requirement or if you need any further improvisation on this. Based on your provided details we will check and provide you better solution. 
 
Regards, 
Sangeetha M 



MC Manav Chirania December 9, 2020 03:31 PM UTC

Hi,

Thanks for the quick reply! This kind of works but I actually wanted to show the spreadsheet in another window altogether instead of a dialog.
The flow can be like - I click on a button which triggers the downloading of the file from the server and then opens the spreadsheet in a different tab.
Opening of a new tab for viewing a spreadsheet is what I want to implement. Is this possible?


SP Sangeetha Priya Murugan Syncfusion Team December 10, 2020 11:17 AM UTC

Hi Manav Chirania, 
 
Thank you for your update. 
 
We have checked your requirement and we would like to let you know that the window.open method accept string type content only, when we open that content in new window. But our components (Spreadsheet) are rendered by HTML with script. So, it’s not possible from component level. The only way to achieve is by passing the spreadsheet sample hosted link, to the window.open method to open that spreadsheet component in the new window. We have attached a sample for your reference, please find the sample at the following location:  
 
 
 
Could you please check the above details and get back to us, if you need any further assistance 
 
Regards, 
Sangeetha M 



MC Manav Chirania December 10, 2020 01:53 PM UTC

This works for me. Thank you!


SP Sangeetha Priya Murugan Syncfusion Team December 11, 2020 07:52 AM UTC

v
Hi Manav Chirania, 
 
Thanks for your update. 
 
We are happy to hear that your issue has been resolved. Kindly get back to us if you need any further assistance. 
 
Regards, 
Sangeetha M 


Loader.
Up arrow icon