How to open a new blank spreadsheet programatically

Hello,

I actually want to create a new blank spreadsheet programmatically in vue, same as calling openBlank() in the document editor component.

Thanks,

2 Replies 1 reply marked as answer

OM Omar February 5, 2021 09:32 AM UTC

Hello,

Any updated on this.

Thanks


AS Aravinthan Seetharaman Syncfusion Team February 6, 2021 05:53 AM UTC

Hi Omar, 
 
Thanks for contacting Syncfusion support. 
 
We have checked your query, we have achieved your requirement by using Button click as like in the below code snippet. 
 
App.vue 
 
<template> 
  <div> 
    <ejs-button v-on:click.native="btnClick"> Open Sheet</ejs-button> 
    <div id="Spreadsheet"></div> 
  </div> 
</template> 
…. 
btnClick: function () { 
      new Spreadsheet({}, "#Spreadsheet"); 
  }, 
 
For your reference we have created sample here. 
 
 
Could you please check the above details, and get back to us, if you need assistance on this. 
 
Regards, 
Aravinthan S 


Marked as answer
Loader.
Up arrow icon