To modify the Spreadsheet appearance, you need to override the default CSS of the spreadsheet. Please find the CSS structure that can be used to modify the Spreadsheet appearance. Also, you have an option to create your own custom theme for all the JavaScript controls using our Theme Studio
.
Use the below CSS to customize the Spreadsheet root element.
.e-spreadsheet {
font-family: cursive;
}
Use the below CSS to customize the Spreadsheet Ribbon.
.e-spreadsheet .e-ribbon {
background-color: #808080;
}
You can customize the Spreadsheet formula bar panel by using this CSS.
.e-spreadsheet .e-formula-bar-panel {
border: none;
}
You can customize the Spreadsheet formula bar text by using this CSS.
.e-spreadsheet .e-formula-bar-panel .e-formula-bar {
font-weight: bold;
}
Using this CSS, you can customize the Spreadsheet sheet element.
.e-spreadsheet .e-sheet-panel .e-sheet {
border-color: #000000;
}
Use the below CSS to customize the Spreadsheet sheet header.
.e-spreadsheet .e-sheet-panel .e-sheet .e-header-panel {
font-style: oblique;
}
Use the below CSS to customize the Spreadsheet row header.
.e-spreadsheet .e-row-header .e-header-cell {
color: #0000FF !important;
}
Use the below CSS to customize the Spreadsheet column header.
.e-spreadsheet .e-column-header .e-header-cell {
color: #0000FF !important;
}
Customize the Spreadsheet selection element.
.e-spreadsheet .e-selection {
border-color: #0000FF;
}
Customize the Spreadsheet active cell element.
.e-spreadsheet .e-active-cell {
border-color: #0000FF;
}
Using this CSS, you can customize the Spreadsheet cell element.
.e-spreadsheet .e-cell {
background-color: #0078d7 !important;
}
Use the below CSS to customize the Spreadsheet sorting icon in the Spreadsheet ribbon. You can use the available Syncfusion icons based on your theme.
.e-spreadsheet .e-sort-filter-icon:before {
background-color: #deecf9;
content: '\e306';
}
Use the below CSS to customize the Spreadsheet filter dialog content element.
.e-spreadsheet .e-filter-popup .e-dlg-content {
background-color: #deecf9;
}
Spreadsheet filter dialog footer element can be customized by using the below CSS.
.e-spreadsheet .e-filter-popup .e-footer-content {
background-color: #ccffff;
}
Use the below CSS to customize the Spreadsheet filter dialog input element.
.e-spreadsheet .e-filter-popup .e-input-group input.e-input{
font-family: cursive;
}
Use the below CSS to customize the Spreadsheet filter dialog button element.
.e-spreadsheet .e-filter-popup .e-btn{
font-family: cursive;
}
Spreadsheet Excel filter dialog number filters element can be customized by using the below CSS.
.e-spreadsheet .e-filter-popup .e-contextmenu-wrapper ul{
background-color: #deecf9;
}
Spreadsheet sheet tab panel can be customized by using the below CSS.
.e-spreadsheet .e-sheet-tab-panel {
background: #08fbfb;
}
Spreadsheet sheet tab element can be customized by using the below CSS.
.e-spreadsheet .e-sheet-tab-panel .e-tab-header .e-toolbar-item.e-active .e-tab-wrap .e-tab-text {
font-weight: bold;
}