Spreadsheet Styling
- Style Properties
- CSS Selectors
- Formula Bar
- Cell Editing
- Headers
- Sheet Tabs
- Tab Navigation
- Cell Indicators
- Interactive Elements
Style Properties
The following style properties can be used in CSS stylesheets to customize the appearance of this component.
To apply values to these properties globally in your application UI, place them in a CSS block using the html {…} selector.
See Lumo Style Properties for more information on style properties.
CSS Selectors
The following CSS selectors can be used in stylesheets to target the various parts and states of the component. See the Styling documentation for more details on how to style components.
Formula Bar
- Formula input field
-
vaadin-spreadsheet::part(formula-field) - Address input field
-
vaadin-spreadsheet::part(address-field)
Cell Editing
- Cell input editor
-
vaadin-spreadsheet::part(cell-input) - Spreadsheet cell
-
vaadin-spreadsheet::part(cell) - Selection corner handle
-
vaadin-spreadsheet::part(selection-corner) - Cell range selection
-
vaadin-spreadsheet::part(cell-range)
Headers
- Row header
-
vaadin-spreadsheet::part(row-header) - Column header
-
vaadin-spreadsheet::part(column-header) - Selected header
-
vaadin-spreadsheet::part(header-selected)
Sheet Tabs
- Sheet tab
-
vaadin-spreadsheet::part(tab) - Selected sheet tab
-
vaadin-spreadsheet::part(tab-selected) - Add new tab button
-
vaadin-spreadsheet::part(new-tab-button)
Tab Navigation
- Tab scroll buttons
-
vaadin-spreadsheet::part(scroll-tabs-button) - Scroll to start button
-
vaadin-spreadsheet::part(scroll-tabs-to-start-button) - Scroll to end button
-
vaadin-spreadsheet::part(scroll-tabs-to-end-button) - Scroll backward button
-
vaadin-spreadsheet::part(scroll-tabs-backward-button) - Scroll forward button
-
vaadin-spreadsheet::part(scroll-tabs-forward-button) - Disabled scroll buttons
-
vaadin-spreadsheet::part(scroll-tabs-button-disabled)