Articles in this section
Category / Section

How to remove Add New Sheet icon in JavaScript Spreadsheet?

1 min read

This article explains how to remove Add Sheet Icon in Sheet panel of the JavaScript Spreadsheet component. You can remove the Add Sheet Icon by using the specified id and class name of the icon. Using the below code, Add Sheet Icon will be removed in initial loading of Spreadsheet.

 

[HTML]

<div id="spreadsheet"></div>

 

[JS]

var spreadsheet = new ej.spreadsheet.Spreadsheet({
   created: function() {
            document.getElementById('spreadsheet_sheet_tab_panel').getElementsByClassName('e-add-sheet-tab')[0].remove();
        }
});

 

Sample: https://stackblitz.com/edit/hqsvqp?file=index.js

 

Output:

 

Remove add new sheet icon in JavaScript Spreadsheet

 

Please find the below documentation to know more about the Spreadsheet component.

 

https://ej2.syncfusion.com/javascript/documentation/spreadsheet/getting-started   


Conclusion

I hope you enjoyed learning about how to remove Add New Sheet icon in JavaScript Spreadsheet.

You can refer to our JS Spreadsheet feature tour page to know about its other groundbreaking feature representations and documentationand how to quickly get started for configuration specifications. You can also explore our JS Spreadsheet example 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)
Please  to leave a comment
Access denied
Access denied