Articles in this section
Category / Section

How to hide tab headers and show home tab toolbar items in the JavaScript Spreadsheet?

1 min read

This article explains how to hide tab headers and show home tab toolbar items in the JavaScript Spreadsheet. Using cssClass property, define a custom CSS and disable the entire Ribbon tab header elements with help of display (display:none) property in CSS level.

[index.html]


[index.ts]

import { Spreadsheet } from '@syncfusion/ej2-spreadsheet';

let spreadsheet: Spreadsheet = new Spreadsheet({
 // Define a custom CSS classs
 cssClass: 'e-custom',
});

spreadsheet.appendTo('#spreadsheet');

Stackblitz Sample: https://stackblitz.com/edit/qi8eqw-hhml9j?file=index.ts

Output:

output.png

Conclusion
I hope you enjoyed learning about how to hide Tab headers and show Home Tab toolbar items in the JavaScript Spreadsheet.

You can refer to our JavaScript Spreadsheet feature tour page to know about its other groundbreaking feature representations and documentation, and how to quickly get started for configuration specifications. You can also explore our JavaScript Spreadsheet Example to understand how to create and manipulate data.

For current customers, you can check out our Document Processing Libraries from the License and Downloads page. If you are new to Syncfusion, you can try our 30-day free trial to check out our 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 forums, Direct-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