Articles in this section
Category / Section

How to remove Trial version tab created in JavaScript Spreadsheet?

This article explains how to remove the Trial version tab created in the JavaScript Spreadsheet component when the save/open action is performed. We have used our ej2 services for demo purpose only. So, we suggest you use your local service for open/save functionality. For local service, you need an ASP.NET Core project as a backend for Open/Save functionality in your frontend application. 

 

Create an ASP.NET Core project and generate the license based on the below KB link. 

 

https://www.syncfusion.com/kb/8976/how-to-generate-license-key-for-essential-studio-products 

 

And include the licensed key in your project startup file as like in the below documentation link. 

 

https://help.syncfusion.com/common/essential-studio/licensing/license-key 

 

The list of below dependencies is required to use the EJ2 Spreadsheet in your application:

 

1. Syncfusion.EJ2  

 

2. Syncfusion.EJ2.Spreadsheet 

 

3. Syncfusion.Compression.Base 

 

4. Syncfusion.XlsIO.Base 

 

For more details, please refer to the below links.  

 

https://help.syncfusion.com/document-processing/excel/spreadsheet/javascript-es6/open-save

 

For more details regarding the Open/Save server functionality, please refer to the below links. 

 

https://help.syncfusion.com/document-processing/excel/spreadsheet/asp-net-core/open-save 

 

Open Method: 

 

   public IActionResult Open([FromForm]IFormCollection openRequest)
        {    
            OpenRequest open = new OpenRequest();
            open.File = openRequest.Files[0];
            return Content(Workbook.Open(open));
        }

 

  

Save Method: 

 

public IActionResult Save([FromForm]SaveSettings saveSettings)
        {
            return Workbook.Save(saveSettings);
        }

 

 

Refer the above Open/Save controller method link in openUrl and saveUrl respectively in the Spreadsheet as like as below. 

 

[JS]:

 

var spreadsheet = new ej.spreadsheet.Spreadsheet({
  openUrl: ”Your Hosted link /controller name/open action method”,
  saveUrl:
   ” Your Hosted link /controller name/save method”  
})

 

  

For example, the link would be: http://localhost:49371/Spreadsheet/Save  

 

We have published our API services in the GitHub location, for more details please refer to the below link.  

 

Service sample Locationhttps://github.com/SyncfusionExamples/EJ2-Spreadsheet-WebServices/  

 

Please find the below documentation to know more about the Spreadsheet open/save action.

 

https://ej2.syncfusion.com/javascript/documentation/spreadsheet/open-save/

 


Conclusion

I hope you enjoyed learning about how to remove Trial version tab created in JavaScript Spreadsheet.

 You can refer to our JavaScript Spreadsheet feature tour  page to know about its other groundbreaking feature representations. You can also explore  documentation to understand how to create and manipulate data.

For current customers, you can check out our components from the License and Downloads page. If you are new to Syncfusion, you can try our 30-day free trial to check out our other controls.

If you have any queries or require clarifications, please let us know in the comments section below. You can also contact us through our support forumsDirect-Trac, or feedback portal. We are always happy to assist you!
Did you find this information helpful?
Yes
No
Help us improve this page
Please provide feedback or comments
Comments (0)
Access denied
Access denied