How to hide tab headers and show home tab toolbar items in the JavaScript Spreadsheet?
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:
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!