Core Features
The core of Univer Sheets consists of a spreadsheet editor and the components that the editor requires: the formula engine, rendering engine, number formatting engine, design system, and UI component library. Together these parts support a wide range of spreadsheet formats and the complex operations that a real workbook involves.
Features
The core feature set covers:
- Spreadsheet rendering: Draws the sheet content, the cursor, and the selection.
- Cell styling: Sets fonts, colors, borders, and alignment on cells.
- Formula calculation: Adds and calculates formulas, with support for nearly every Excel function, including math, statistical, text, and date functions.
- Number formatting: Applies currency, percentage, date, and other number formats to values.
- Gridlines and frozen panes: Shows gridlines and frozen panes, which makes large datasets easier to read and edit.
- Default styles: Sets the default font, size, color, and other styles for a spreadsheet.
- Plugin system: Allows the addition of custom plugins, such as formula, image, and chart plugins. The plugin system is also one of Univer's core architectural capabilities.
Plugin mode
Installation
pnpm add @univerjs/core @univerjs/design @univerjs/engine-render @univerjs/engine-formula @univerjs/ui @univerjs/docs @univerjs/docs-ui @univerjs/sheets @univerjs/sheets-ui @univerjs/sheets-formula @univerjs/sheets-formula-ui @univerjs/sheets-numfmt @univerjs/sheets-numfmt-uinpm install @univerjs/core @univerjs/design @univerjs/engine-render @univerjs/engine-formula @univerjs/ui @univerjs/docs @univerjs/docs-ui @univerjs/sheets @univerjs/sheets-ui @univerjs/sheets-formula @univerjs/sheets-formula-ui @univerjs/sheets-numfmt @univerjs/sheets-numfmt-uiyarn add @univerjs/core @univerjs/design @univerjs/engine-render @univerjs/engine-formula @univerjs/ui @univerjs/docs @univerjs/docs-ui @univerjs/sheets @univerjs/sheets-ui @univerjs/sheets-formula @univerjs/sheets-formula-ui @univerjs/sheets-numfmt @univerjs/sheets-numfmt-uibun add @univerjs/core @univerjs/design @univerjs/engine-render @univerjs/engine-formula @univerjs/ui @univerjs/docs @univerjs/docs-ui @univerjs/sheets @univerjs/sheets-ui @univerjs/sheets-formula @univerjs/sheets-formula-ui @univerjs/sheets-numfmt @univerjs/sheets-numfmt-uiUsage
import { LocaleType, mergeLocales, Univer } from '@univerjs/core'import DesignEnUS from '@univerjs/design/locale/en-US'import { UniverDocsPlugin } from '@univerjs/docs'import { UniverDocsUIPlugin } from '@univerjs/docs-ui'import DocsUIEnUS from '@univerjs/docs-ui/locale/en-US'import { UniverFormulaEnginePlugin } from '@univerjs/engine-formula'import { UniverRenderEnginePlugin } from '@univerjs/engine-render'import { UniverSheetsPlugin } from '@univerjs/sheets'import { UniverSheetsFormulaPlugin } from '@univerjs/sheets-formula'import { UniverSheetsFormulaUIPlugin } from '@univerjs/sheets-formula-ui'import SheetsFormulaUIEnUS from '@univerjs/sheets-formula-ui/locale/en-US'import { UniverSheetsNumfmtPlugin } from '@univerjs/sheets-numfmt'import { UniverSheetsNumfmtUIPlugin } from '@univerjs/sheets-numfmt-ui'import SheetsNumfmtUIEnUS from '@univerjs/sheets-numfmt-ui/locale/en-US'import { UniverSheetsUIPlugin } from '@univerjs/sheets-ui'import SheetsUIEnUS from '@univerjs/sheets-ui/locale/en-US'import SheetsEnUS from '@univerjs/sheets/locale/en-US'import { UniverUIPlugin } from '@univerjs/ui'import UIEnUS from '@univerjs/ui/locale/en-US'import '@univerjs/design/lib/index.css'import '@univerjs/ui/lib/index.css'import '@univerjs/docs-ui/lib/index.css'import '@univerjs/sheets-ui/lib/index.css'import '@univerjs/sheets-formula-ui/lib/index.css'import '@univerjs/sheets-numfmt-ui/lib/index.css'import '@univerjs/engine-formula/facade'import '@univerjs/ui/facade'import '@univerjs/docs-ui/facade'import '@univerjs/sheets/facade'import '@univerjs/sheets-ui/facade'import '@univerjs/sheets-formula/facade'import '@univerjs/sheets-numfmt/facade'const univer = new Univer({ locale: LocaleType.EN_US, locales: { [LocaleType.EN_US]: mergeLocales( DesignEnUS, UIEnUS, DocsUIEnUS, SheetsEnUS, SheetsUIEnUS, SheetsFormulaUIEnUS, SheetsNumfmtUIEnUS, ), },})univer.registerPlugin(UniverRenderEnginePlugin)univer.registerPlugin(UniverFormulaEnginePlugin)univer.registerPlugin(UniverUIPlugin, { container: 'app',})univer.registerPlugin(UniverDocsPlugin)univer.registerPlugin(UniverDocsUIPlugin)univer.registerPlugin(UniverSheetsPlugin)univer.registerPlugin(UniverSheetsUIPlugin)univer.registerPlugin(UniverSheetsFormulaPlugin)univer.registerPlugin(UniverSheetsFormulaUIPlugin)univer.registerPlugin(UniverSheetsNumfmtPlugin)univer.registerPlugin(UniverSheetsNumfmtUIPlugin)Plugin configuration
@univerjs/core
This package is the Univer core library. It creates Univer instances and manages base functionality such as themes and locales.
themeThemeDefault:defaultThemeTheme used by the editor.[palette]object[shade]stringColor palette keyed by name and shade. UsedefaultThemeas the template.
darkModebooleanDefault:falseStart in dark mode.localestringLanguage used by menus and dialogs.regionstringDefault: FollowslocaleBCP 47 tag for regional formatting, for exampleLocaleType.DE_DE. It determines the currency symbol shown in the toolbar.localesRecord<string, ILanguagePack>Translations keyed by locale.[locale]ILanguagePackTranslations for one locale. Use the locale value as the key.
logLevelLogLevelDefault:LogLevel.INFOVerbosity of runtime logs.
Reference: Univer
@univerjs/engine-render
The rendering engine draws the sheet content, scrollbars, cursor, and selection. It exports UniverRenderEnginePlugin.
Reference: @univerjs/engine-render
@univerjs/engine-formula
The formula engine calculates and processes formulas, and it exports UniverFormulaEnginePlugin.
Reference: @univerjs/engine-formula
@univerjs/design
The design system provides the base components and styles.
See: UI Chapter
@univerjs/ui
This package provides the UI foundation and exports UniverUIPlugin.
UniverUIPlugin accepts options for the base layout.
containerstring | HTMLElementElement where the editor mounts.headerbooleanDefault:trueShows the header.toolbarbooleanDefault:trueShows the toolbar.ribbonTypeRibbonTypeDefault:'classic'Selects the Ribbon layout.contextMenubooleanDefault:trueEnables context menus.disableAutoFocustrueDisables autofocus at startup.customFontFamilyIFontConfig[] | objectAdds these font choices to the dropdown.listIFontConfig[]Adds these font choices to the dropdown.valuestringFont family name used in CSS.labelstringDisplay name or translation key.categoryFontCategoryFont group. Usesans-serif,serif,monospace,display, orhandwriting.
overridebooleanDefault:falseReplaces the built-in choices with the supplied list.
override[DependencyIdentifier, Provider | null][]Overrides injected dependencies.[0]DependencyIdentifierDependency identifier to replace.[1]Provider | nullReplacement provider. Passnullto remove the dependency.
Use menu to control the visibility of specific menu items:
univer.registerPlugin(UniverUIPlugin, { menu: { 'sheet.command.set-range-bold': { hidden: true, }, 'sheet.command.set-range-italic': { hidden: true, disabled: true, }, },})Both keys, 'sheet.command.set-range-bold' and 'sheet.command.set-range-italic', are menu item IDs; the Menu Item ID List below contains the full list.
Reference: @univerjs/ui
@univerjs/docs
This package is the core plugin for Univer Docs and exports UniverDocsPlugin.
Reference: @univerjs/docs
@univerjs/docs-ui
This package is the UI plugin for Univer Docs. It adds the UI components and interactions of the document editor and exports UniverDocsUIPlugin.
Reference: @univerjs/docs-ui
@univerjs/sheets
This package is the core plugin for Univer Sheets. It provides the core features of the spreadsheet editor and exports UniverSheetsPlugin.
UniverSheetsPlugin also accepts several options for the editor:
isRowStylePrecedeColumnStylebooleanDefault:falseAllows the row style to override the column style.autoHeightForMergedCellsbooleanDefault:falseAutomatically adjusts row height for merged cells.freezeSyncbooleanDefault:trueSynchronizes frozen panes during collaboration.textLineGapnumberDefault:0Extra line spacing inside cells, in pixels.
Reference: @univerjs/sheets
@univerjs/sheets-ui
This package is the UI plugin for Univer Sheets. It adds the UI components and interactions of the spreadsheet editor and exports UniverSheetsUIPlugin.
UniverSheetsUIPlugin accepts options that change the editor UI:
formulaBarbooleanDefault:trueShows the formula bar.clipboardConfigobjectHides the options button after pasting.hidePasteOptionsbooleanDefault:falseHides the options button after pasting.
scrollConfigobjectConfigures the scrollbars.mainSceneSceneScene associated with the scrollbar.thumbMarginnumberDefault:2Margin between the track and thumb, in pixels.thumbLengthRationumberDefault:1Multiplier for thumb length.thumbBackgroundColorstringDefault:'gray.300'Thumb color.thumbHoverBackgroundColorstringDefault:'gray.400'Thumb color on hover.thumbActiveBackgroundColorstringDefault:'gray.500'Thumb color while dragging.trackBackgroundColorstringDefault:'gray.0'Track background color.trackBorderColorstringDefault:'gray.0'Track border color.barSizenumberDefault:10Track thickness in pixels.barBordernumberDefault:1Track border thickness in pixels.enableHorizontalbooleanDefault:trueShows the horizontal scrollbar.enableVerticalbooleanDefault:trueShows the vertical scrollbar.hideTrackWhenUnscrollablebooleanDefault:falseHides a track when its axis has no overflow.minThumbSizeHnumberDefault:17Minimum horizontal thumb width in pixels.minThumbSizeVnumberDefault:17Minimum vertical thumb height in pixels.
protectedRangeShadowboolean | 'always' | 'non-editable' | 'non-viewable' | 'none'Default:trueSelects when protected ranges are shaded.protectedRangeUserSelectorobjectCustomizes the picker for users of a protected range.componentComponentType<IPermissionDetailUserPartProps>Component used to pick users.frameworkstringFramework used by the component, such asreact.
disableForceStringAlertbooleanDefault:falseHides the warning for a value stored as text.disableForceStringMarkbooleanDefault:falseHides the marker for a value stored as text.maxAutoHeightCountnumberDefault:1000Limits how many rows can be resized automatically.allowArrowKeyWrapOnSheetBoundarybooleanDefault:trueWraps arrow-key navigation at worksheet edges.selectionAnimationbooleanDefault:trueAnimates selection when clicking between cells on desktop. Respects the system motion setting.enableFillHandlebooleanDefault:trueShows the desktop fill handle. Fill commands remain available.warnBeforeDragOverwritebooleanDefault:trueConfirms before dragging a range over existing content. Move validation and undo still apply.
Reference: @univerjs/sheets-ui
Mobile support
Configure the mobile editor first. In the plugin-mode setup on this page, replace the desktop registrations below with the mobile exports from the same packages, and do so before you open a document. Retain the model plugins, styles, locales, and Facade imports, and do not register both variants.
| Package | Desktop registration | Mobile registration |
|---|---|---|
@univerjs/sheets-formula-ui | UniverSheetsFormulaUIPlugin | UniverSheetsFormulaMobileUIPlugin |
@univerjs/sheets-numfmt-ui | UniverSheetsNumfmtUIPlugin | UniverSheetsNumfmtMobileUIPlugin |
Preset mode
Installation
pnpm add @univerjs/presets @univerjs/preset-sheets-corenpm install @univerjs/presets @univerjs/preset-sheets-coreyarn add @univerjs/presets @univerjs/preset-sheets-corebun add @univerjs/presets @univerjs/preset-sheets-coreUsage
import { UniverSheetsCorePreset } from '@univerjs/preset-sheets-core'import UniverPresetSheetsCoreEnUS from '@univerjs/preset-sheets-core/locales/en-US'import { createUniver, LocaleType, mergeLocales } from '@univerjs/presets'import '@univerjs/preset-sheets-core/lib/index.css'const { univerAPI } = createUniver({ locale: LocaleType.EN_US, locales: { [LocaleType.EN_US]: mergeLocales(UniverPresetSheetsCoreEnUS), }, presets: [UniverSheetsCorePreset()],})univerAPI.createWorkbook({})Preset configuration
@univerjs/presets
This preset provides createUniver for building a Univer application and re-exports every method and object from @univerjs/core and @univerjs/design.
createUniver accepts a configuration object that contains theme, language, presets, and other options. It returns a Univer instance named univer and an FUniver instance named univerAPI, which is used to call the Facade API.
themeThemeDefault:defaultThemeTheme used by the editor.[palette]object[shade]stringColor palette keyed by name and shade. UsedefaultThemeas the template.
darkModebooleanDefault:falseStart in dark mode.localestringLanguage used by menus and dialogs.regionstringDefault: FollowslocaleBCP 47 tag for regional formatting, for exampleLocaleType.DE_DE. It determines the currency symbol shown in the toolbar.localesRecord<string, ILanguagePack>Translations keyed by locale.[locale]ILanguagePackTranslations for one locale. Use the locale value as the key.
logLevelLogLevelDefault:LogLevel.WARNVerbosity of runtime logs.presets(IPreset | [IPreset, IPresetOptions])[]Presets to register.[0]IPresetPreset returned by a preset factory.[1]IPresetOptionsDefers registration of this preset’s plugins.lazybooleanDefers registration of this preset’s plugins.
lazybooleanDefers registration of this preset’s plugins.
plugins(PluginCtor | [PluginCtor, object])[]Additional plugins and their options.[0]PluginCtorPlugin constructor.[1]objectOptions accepted by that plugin’s constructor.
Reference: createUniver
@univerjs/preset-sheets-core
This package is the core preset for Univer Sheets. It bundles the components that a spreadsheet requires, such as the document editor, the formula engine, and the rendering engine.
containerstring | HTMLElementDefault:'app'Element where the editor mounts.headerbooleanDefault:trueShows the header.toolbarbooleanDefault:trueShows the toolbar.ribbonTypeRibbonTypeDefault:'classic'Selects the Ribbon layout.contextMenubooleanDefault:trueEnables context menus.disableAutoFocustrueDisables autofocus at startup.customFontFamilyIFontConfig[] | objectAdds these font choices to the dropdown.listIFontConfig[]Adds these font choices to the dropdown.valuestringFont family name used in CSS.labelstringDisplay name or translation key.categoryFontCategoryFont group. Usesans-serif,serif,monospace,display, orhandwriting.
overridebooleanDefault:falseReplaces the built-in choices with the supplied list.
formulaBarbooleanDefault:trueShows the formula bar.disableTextFormatAlertbooleanDefault:falseHides the text format warning.disableTextFormatMarkbooleanDefault:falseHides the text format marker.sheetsobjectSettings for the selected feature.isRowStylePrecedeColumnStylebooleanDefault:falseAllows the row style to override the column style.autoHeightForMergedCellsbooleanDefault:falseAutomatically adjusts row height for merged cells.freezeSyncbooleanDefault:trueSynchronizes frozen panes during collaboration.textLineGapnumberDefault:0Extra line spacing inside cells, in pixels.clipboardConfigobjectHides the options button after pasting.hidePasteOptionsbooleanDefault:falseHides the options button after pasting.
scrollConfigobjectConfigures the scrollbars.mainSceneSceneScene associated with the scrollbar.thumbMarginnumberDefault:2Margin between the track and thumb, in pixels.thumbLengthRationumberDefault:1Multiplier for thumb length.thumbBackgroundColorstringDefault:'gray.300'Thumb color.thumbHoverBackgroundColorstringDefault:'gray.400'Thumb color on hover.thumbActiveBackgroundColorstringDefault:'gray.500'Thumb color while dragging.trackBackgroundColorstringDefault:'gray.0'Track background color.trackBorderColorstringDefault:'gray.0'Track border color.barSizenumberDefault:10Track thickness in pixels.barBordernumberDefault:1Track border thickness in pixels.enableHorizontalbooleanDefault:trueShows the horizontal scrollbar.enableVerticalbooleanDefault:trueShows the vertical scrollbar.hideTrackWhenUnscrollablebooleanDefault:falseHides a track when its axis has no overflow.minThumbSizeHnumberDefault:17Minimum horizontal thumb width in pixels.minThumbSizeVnumberDefault:17Minimum vertical thumb height in pixels.
protectedRangeShadowboolean | 'always' | 'non-editable' | 'non-viewable' | 'none'Default:trueSelects when protected ranges are shaded.protectedRangeUserSelectorobjectCustomizes the picker for users of a protected range.componentComponentType<IPermissionDetailUserPartProps>Component used to pick users.frameworkstringFramework used by the component, such asreact.
disableForceStringAlertbooleanDefault:falseHides the warning for a value stored as text.disableForceStringMarkbooleanDefault:falseHides the marker for a value stored as text.maxAutoHeightCountnumberDefault:1000Limits how many rows can be resized automatically.allowArrowKeyWrapOnSheetBoundarybooleanDefault:trueWraps arrow-key navigation at worksheet edges.selectionAnimationbooleanDefault:trueAnimates selection when clicking between cells on desktop. Respects the system motion setting.enableFillHandlebooleanDefault:trueShows the desktop fill handle. Fill commands remain available.warnBeforeDragOverwritebooleanDefault:trueConfirms before dragging a range over existing content. Move validation and undo still apply.
docsobjectSettings for the selected feature.hasScrollbooleanShows the Docs scrollbars.
formulaobjectAccepts formula functions, descriptions, calculation mode, and screen tip settings.function[Ctor<BaseFunction>, string][]Custom formula implementations.[0]Ctor<BaseFunction>Formula class.[1]stringName used in formulas.
descriptionobject[]Function descriptions shown in the editor.functionNamestringFunction name.aliasFunctionNamestringAlternate function name.functionTypeFunctionTypeFunction category.descriptionstringDetailed description.abstractstringShort summary.functionParameterobject[]Parameter descriptions.namestringParameter name.detailstringParameter details.examplestringUsage example.require0 | 1Whether the parameter is required (1) or optional (0).repeat0 | 1Whether the parameter can repeat (1) or only appear once (0).
initialFormulaComputingCalculationModeDefault:CalculationMode.WHEN_EMPTYFormula calculation on opening a workbook.functionScreenTipsbooleanDefault:trueShows function hints while editing formulas.
workerURLstring | URL | WorkerRun formula calculation in a browser Worker.
Use menu to control the visibility of specific menu items:
UniverSheetsCorePreset({ menu: { 'sheet.command.set-range-bold': { hidden: true, }, 'sheet.command.set-range-italic': { hidden: true, disabled: true, }, },})Both keys, 'sheet.command.set-range-bold' and 'sheet.command.set-range-italic', are menu item IDs; the Menu Item ID List below contains the full list.
Reference: @univerjs/preset-sheets-core
Toolbar layout and RibbonType
Set ribbonType in IUniverSheetsCorePresetConfig or IUniverUIConfig to choose the toolbar layout.
There are four modes:
classic: The default layout. Groups occupy the upper row and the toolbar runs below them, matching what users of traditional layouts expect.grid: Keeps the tabs and arranges each group's tools below them in a two-row grid. It suits desktop layouts that need more tools visible at once.collapsed: Places the groups and the toolbar on the same row, which conserves vertical space when it is limited.simple: Removes grouping and places every tool in a single flat list, for users who already know what each button does.
When a grid Ribbon has insufficient width, entire groups move into More and their controls switch to a compact layout. They return when the container is widened. This follows the available width automatically, so keep the existing gridLayout for the main Ribbon. The overflow menu retains the same commands, disabled states, and permission checks.
Menu order and grid layout
A key in menu can be a Ribbon tab such as ribbon.insert, a group such as ribbon.start.format, or a menu item ID.
order sorts siblings from low to high: tabs within the Ribbon, groups within a tab, and items within a group or submenu. It does not move a menu item into another group. In place of string keys, you can use RibbonPosition and the group enums exported by @univerjs/ui.
Merge these options into the existing initialization for the current mode. Keep the other plugins, locale, theme, and container settings, and do not register the same plugin twice.
import type { MenuConfig } from '@univerjs/ui'const menu: MenuConfig = { 'ribbon.insert': { order: -1 }, 'ribbon.start.format': { order: -1 }, 'sheet.command.set-range-font-family': { order: 0, gridLayout: { row: 1, column: 1, width: 160 }, },}import { UniverUIPlugin } from '@univerjs/ui'univer.registerPlugin(UniverUIPlugin, { ribbonType: 'grid', menu,})import { UniverSheetsCorePreset } from '@univerjs/preset-sheets-core'import { createUniver } from '@univerjs/presets'const { univerAPI } = createUniver({ presets: [ UniverSheetsCorePreset({ ribbonType: 'grid', menu, }), ],})Selection and dragging
Keyboard navigation at worksheet boundaries
allowArrowKeyWrapOnSheetBoundary determines whether arrow keys wrap to the next row or column at a worksheet edge. It defaults to true; set it to false to stop at the edge. Enter/Tab cycling inside a selected range is not affected. In preset mode, set it under sheets; in plugin mode, pass it directly to UniverSheetsUIPlugin.
selectionAnimation: false disables the selection outline animation when the selection moves between cells; the system reduced-motion preference takes precedence. enableFillHandle: false hides the fill handle while fill commands and Facade APIs remain available. warnBeforeDragOverwrite: false skips the confirmation prompt before a drag overwrites existing content; move validation and undo/redo still apply. All three options default to true. Pass them under sheets in UniverSheetsCorePreset, or directly to UniverSheetsUIPlugin.
univer.registerPlugin(UniverSheetsUIPlugin, { allowArrowKeyWrapOnSheetBoundary: false, selectionAnimation: false, enableFillHandle: false, warnBeforeDragOverwrite: false,})createUniver({ presets: [ UniverSheetsCorePreset({ sheets: { allowArrowKeyWrapOnSheetBoundary: false, selectionAnimation: false, enableFillHandle: false, warnBeforeDragOverwrite: false, }, }), ],})Update menus with the Facade API
Runtime updates
The public Facade merges the changes and refreshes the UI immediately. Properties that are omitted keep their previous values or the schema defaults, and the overrides also apply to menus registered later. In plugin mode, import @univerjs/ui/facade first.
import '@univerjs/ui/facade'univerAPI.updateMenuConfig({ 'sheet.command.set-range-bold': { order: 0, gridLayout: { row: 2, column: 2 }, }, 'sheet.command.set-range-italic': { gridLayout: { row: 2, column: 1 }, },})gridLayout only has an effect with ribbonType: 'grid'. Every group has two rows, and row and column start at 1. Coordinates are explicit, so changing only order does not move a button that was placed explicitly. When two buttons are swapped, both must be updated, or they overlap. The optional fields are rowSpan, columnSpan, showLabel, width, and iconSize, with sizes in pixels. IRibbonGridLayout lists the constraints and defaults.
Custom menu placement
createMenu() and createSubmenu() also accept order and gridLayout. On a submenu, these fields position the Ribbon trigger rather than the contents of the popup. The following example adds a button in the third column of the History group:
univerAPI .createMenu({ id: 'custom-action', title: 'Custom action', action: () => console.log('Custom action clicked'), order: 4, gridLayout: { row: 1, column: 3, showLabel: true, width: 96 }, }) .appendTo('ribbon.start.history')Menu item ID list
The tables below organize desktop menu items by where they appear. An item can appear in several places, and the row and column headers reuse some cell context menu items. Feature menus appear only when the corresponding plugin is registered; visibility also depends on permissions and the current selection. Mobile-only IDs are listed separately at the end.
data-u-command attribute on a menu item's DOM element is its menu item ID. The menu config uses this menu item ID, which can differ from the command ID that the item invokes.Toolbar menu items
| Menu Item ID | Menu Item Name |
|---|---|
| univer.command.undo | Undo |
| univer.command.redo | Redo |
| ui.operation.activate-format-painter | Paint format |
| sheet.command.set-range-bold | Bold |
| sheet.command.set-range-italic | Italic |
| sheet.command.set-range-underline | Underline |
| sheet.command.set-range-stroke | Strikethrough |
| sheet.command.set-range-font-family | Font |
| sheet.command.set-range-fontsize | Font size |
| sheet.command.set-range-text-color | Text color |
| sheet.command.set-background-color | Fill color |
| sheet.command.set-border-basic | Border |
| sheet.command.set-horizontal-text-align | Horizontal align |
| sheet.command.set-vertical-text-align | Vertical align |
| sheet.command.set-text-wrap | Text wrap |
| sheet.command.set-text-rotation | Text rotate |
| sheet.command.add-worksheet-merge | Merge cells |
| sheet.command.add-worksheet-merge-all | Merge cells - Merge all |
| sheet.command.add-worksheet-merge-vertical | Merge cells - Vertical merge |
| sheet.command.add-worksheet-merge-horizontal | Merge cells - Horizontal merge |
| sheet.command.remove-worksheet-merge | Merge cells - Cancel merge |
| sheet.operation.open.conditional.formatting.panel | Conditional Formatting |
| formula-ui.operation.insert-function.common | Common Functions |
| formula-ui.operation.more-functions | Functions - More Functions |
| sheet.menu.sheets-sort | Sort |
| sheet.command.sort-range-asc | Sort - Ascending |
| sheet.command.sort-range-asc-ext | Sort - Expand Ascending |
| sheet.command.sort-range-desc | Sort - Descending |
| sheet.command.sort-range-desc-ext | Sort - Expand Descending |
| sheet.command.sort-range-custom | Sort - Custom Sort |
| sheet.menu.image | Image |
| sheet.command.insert-float-image | Image - Float Image |
| sheet.command.insert-cell-image | Image - Cell Image |
| sheet.command.numfmt.set.currency | Currency |
| sheet.command.numfmt.add.decimal.command | Increase decimal places |
| sheet.command.numfmt.subtract.decimal.command | Decreasing decimal places |
| sheet.command.numfmt.set.percent | Percentage |
| sheet.operation.open.numfmt.panel | Number format |
| sheet.menu.data-validation | Data validation |
| data-validation.operation.open-validation-panel | Data validation - Data validation management |
| data-validation.command.addRuleAndOpen | Data validation - Add Rule |
| sheet.command.smart-toggle-filter | Toggle Filter |
| sheet.command.clear-filter-criteria | Toggle Filter - Clear Filter Conditions |
| sheet.command.re-calc-filter | Toggle Filter - Re-calc Filter Conditions |
| sheet.operation.open-pivot-table-range-selector-panel | Pivot Table |
| sheet.menu.print | |
| sheet.operation.print-open | Print - Print |
| sheet.operation.open-print-grid-sidebar | Print - Print Layout |
| sheet.command.menu-insert-chart | Insert chart |
| sheet.command.add-range-protection-from-toolbar | Protection |
| univer.operation.toggle-edit-history | Edit History |
| sheet.operation.open-sparkline-selector | Sparkline |
| sheet.operation.toggle-comment-panel | Comment Management |
| sheet.operation.insert-hyper-link-toolbar | Insert Link |
| ui.operation.open-find-dialog | Find & Replace |
| base-ui.operation.toggle-shortcut-panel | Toggle Shortcut Panel |
| sheet.command.add-data-bar-conditional-rule | Data Bar |
| sheet.command.add-icon-set-conditional-rule | Icon Set |
| sheet.operation.toggle-crosshair-highlight | Crosshair Highlight |
| data-validation.command.insert-quick-rule | Checkbox |
| sheet.menu.quick-dropdown | Dropdown |
| sheet.menu.quick-date | Date |
| sheet.menu.worksheet-background-image | Background Image |
| sheet.command.add-worksheet-background-image | Add Background Image |
| sheet.command.delete-worksheet-background-image | Delete Background Image |
| formula-ui.operation.insert-function.financial | Financial |
| formula-ui.operation.insert-function.logical | Logical |
| formula-ui.operation.insert-function.text | Text |
| formula-ui.operation.insert-function.date | Date & Time |
| formula-ui.operation.insert-function.lookup | Lookup & Reference |
| formula-ui.operation.insert-function.math | Math & Trig |
| formula-ui.operation.insert-function.statistical | Statistical |
| formula-ui.operation.insert-function.engineering | Engineering |
| formula-ui.operation.insert-function.information | Information |
| formula-ui.operation.insert-function.database | Database |
| sheets-formula-ui.operation.calculation-options | Calculation Options |
| sheet.operation.open-table-selector | Table |
| sheet.menu.paste | Paste |
| sheet.command.set-range-font-increase | Increase font size |
| sheet.command.set-range-font-decrease | Decrease font size |
| sheet.command.reset-range-text-color | Text color - Reset |
| sheet.command.reset-background-color | Fill color - Reset |
| sheet.command.set-shrink-to-fit | Shrink to fit |
| sheet.toolbar.sheet-frozen | Freeze |
| sheet.menu.zoom-ratio | Zoom |
| sheet.command.toggle-gridlines | Toggle Gridlines |
| base-ui.operation.toggle-fullscreen | Fullscreen |
| ui.command.clear-formatting | Clear formatting |
| ui.operation.open-feature-search | Search features |
| sheet.toolbar.dimension-outline.group | Group |
| sheet.command.menu-insert-pivot-chart | Pivot Chart |
| sheet.pivot-chart.insert | Pivot Chart |
| sheet.command.menu-insert-shape | Insert Shape |
| sheet.operation.open-shape-object-list-panel | Layers |
| sheet.operation.open-slicer-insert-dialog | Insert slicer |
| sheet.menu.insert-timeline | Insert timeline |
Context menu items
| Menu Item ID | Menu Item Name |
|---|---|
| sheet.command.copy | Copy |
| sheet.command.cut | Cut |
| sheet.command.paste | Paste |
| sheet.menu.copy-special | Copy Special |
| sheet.command.copy-formula-only | Copy Special - Copy Formula Only |
| sheet.menu.paste-special | Paste Special |
| sheet.command.paste-value | Paste Special - Paste Value |
| sheet.command.paste-format | Paste Special - Paste Format |
| sheet.command.paste-col-width | Paste Special - Paste Column Width |
| sheet.command.paste-besides-border | Paste Special - Paste Besides Border Styles |
| sheet.command.paste-formula | Paste Special - Paste Formula |
| sheet.menu.clear-selection | Clear |
| sheet.command.clear-selection-content | Clear - Clear Contents |
| sheet.command.clear-selection-format | Clear - Clear Formats |
| sheet.command.clear-selection-all | Clear - Clear All |
| sheet.contextMenu.text-to-number | Text to Number |
| sheet.menu.cell-insert | Insert |
| sheet.command.insert-row-before | Insert - Insert Row Before |
| sheet.command.insert-col-before | Insert - Insert Column Before |
| sheet.command.insert-range-move-right-confirm | Insert - Move Right |
| sheet.command.insert-range-move-down-confirm | Insert - Move Down |
| sheet.menu.delete | Delete |
| sheet.command.remove-row-confirm | Delete Selected Row |
| sheet.command.remove-col-confirm | Delete Selected Column |
| sheet.command.delete-range-move-left-confirm | Delete - Move Left |
| sheet.command.delete-range-move-up-confirm | Delete - Move Up |
| sheet.menu.sheet-frozen | Freeze |
| sheet.command.set-selection-frozen | Freeze - Freeze |
| sheet.command.set-row-frozen | Freeze - Freeze to this row |
| sheet.command.set-col-frozen | Freeze - Freeze to this column |
| sheet.command.cancel-frozen | Freeze - Cancel freeze |
| sheet.contextMenu.permission | Protect Rows And Columns |
| sheet.command.add-range-protection-from-context-menu | Protect Rows And Columns - Add Protection Range |
| sheet.command.set-range-protection-from-context-menu | Protect Rows And Columns - Set Protection Range |
| sheet.command.delete-range-protection-from-context-menu | Protect Rows And Columns - Remove Protection Range |
| sheet.command.view-sheet-permission-from-context-menu | Protect Rows And Columns - View All Protection Ranges |
| sheet.menu.sheets-sort-ctx | Sort |
| sheet.command.sort-range-asc-ctx | Sort - Ascending |
| sheet.command.sort-range-asc-ext-ctx | Sort - Expand Ascending |
| sheet.command.sort-range-desc-ctx | Sort - Descending |
| sheet.command.sort-range-desc-ext-ctx | Sort - Expand Descending |
| sheet.command.sort-range-custom-ctx | Sort - Custom Sort |
| sheet.operation.show-comment-modal | Add Comment |
| sheet.operation.insert-hyper-link | Insert Link |
| sheet.operation.screenshot | Copy as picture |
| sheet.command.save-cell-images | Save Cell Images |
| sheet.operation.add-note-popup | Add Note |
| sheet.command.delete-note | Delete Note |
| sheet.command.toggle-note-popup | Show/Hide Note |
| sheet.table.context-insert_menu-id | Insert Table |
| sheet.command.table-insert-row | Insert Table Row |
| sheet.command.table-insert-col | Insert Table Column |
| sheet.table.context-remove_menu-id | Remove Table |
| sheet.command.table-remove-row | Remove Table Row |
| sheet.command.table-remove-col | Remove Table Column |
| sheet.command.set-first-row-frozen | Freeze first row |
| sheet.command.set-first-column-frozen | Freeze first column |
| sheet.sparkline.context-menu-id | Sparkline |
| sheet.operation.open-sparkline-panel | Edit Sparkline |
| sheet.command.remove-sparkline | Remove Sparkline |
Context menu items - row header
| Menu Item ID | Menu Item Name |
|---|---|
| sheet.command.insert-multi-rows-above | Insert Row Before |
| sheet.command.insert-multi-rows-after | Insert Row After |
| sheet.command.hide-row-confirm | Hide Selected Row |
| sheet.command.set-selected-rows-visible | Show Hide Row |
| sheet.command.set-row-height | Row Height |
| sheet.command.set-row-is-auto-height | Fit for data |
| sheet.row-header-menu.sheet-frozen | Freeze |
| sheet.contextMenu.dimension-outline | Group |
Context menu items - column header
| Menu Item ID | Menu Item Name |
|---|---|
| sheet.command.insert-multi-cols-before | Insert Column Before |
| sheet.command.insert-multi-cols-right | Insert Column After |
| sheet.command.hide-col-confirm | Hide Selected Column |
| sheet.command.set-selected-cols-visible | Show Hide Column |
| sheet.command.set-worksheet-col-width | Column Width |
| sheet.command.set-col-auto-width | Fit for data |
| sheet.column-header-menu.sheet-frozen | Freeze |
| sheet.contextMenu.dimension-outline | Group |
Context menu items - sheet tabs
| Menu Item ID | Menu Item Name |
|---|---|
| sheet.command.remove-sheet-confirm | Delete |
| sheet.command.copy-sheet | Copy |
| sheet.operation.rename-sheet | Rename |
| sheet.command.set-tab-color | Change color |
| sheet.command.set-worksheet-hidden | Hide |
| ui-sheet.command.show-menu-list | Unhide |
| sheet.command.add-range-protection-from-sheet-bar | Protect Worksheet |
| sheet.command.delete-worksheet-protection-from-sheet-bar | Unprotect Worksheet |
| sheet.command.change-sheet-protection-from-sheet-bar | Change Worksheet Permissions |
| sheet.command.view-sheet-permission-from-sheet-bar | View All Protection Ranges |
Pivot table and pivot chart context menu items
| Menu Item ID | Menu Item Name |
|---|---|
| sheet.pivot-chart.expand-collapse | Expand/Collapse |
| sheet.pivot.context-menu.date-group | Date Group |
| sheet.pivot.context-menu.excel-date-group | Group Dates |
| sheet.pivot.context-menu.number-group | Group Numbers |
| sheet.pivot.context-menu.manual-group | Group Items |
| sheet.pivot.context-menu.manual-rename | Rename Group |
| sheet.pivot.context-menu.manual-ungroup | Ungroup |
| sheet.pivot.context-menu.show-data-as | Show Values As |
| sheet.pivot.context-menu.value-filter | Value Filters |
| sheet.pivot.context-menu.date-group.year | Date Group - Year |
| sheet.pivot.context-menu.date-group.year-quarter | Date Group - Year-Quarter |
| sheet.pivot.context-menu.date-group.quarter | Date Group - Quarter |
| sheet.pivot.context-menu.date-group.year-month | Date Group - Year-Month |
| sheet.pivot.context-menu.date-group.month | Date Group - Month |
| sheet.pivot.context-menu.date-group.month-date | Date Group - Month-Date |
| sheet.pivot.context-menu.date-group.year-month-date | Date Group - Year-Month-Date |
| sheet.pivot.context-menu.date-group.date | Date Group - Date |
| sheet.pivot.context-menu.date-group.hour | Date Group - Hour |
| sheet.pivot.context-menu.date-group.minute | Date Group - Minute |
| sheet.pivot.context-menu.date-group.hour-minute | Date Group - Hour-Minute |
| sheet.pivot.context-menu.show-data-as.1 | Show Values As - No Calculation |
| sheet.pivot.context-menu.show-data-as.4 | Show Values As - % of Grand Total |
| sheet.pivot.context-menu.show-data-as.3 | Show Values As - % of Row Total |
| sheet.pivot.context-menu.show-data-as.2 | Show Values As - % of Column Total |
| sheet.pivot.context-menu.show-data-as.6 | Show Values As - % of Parent Row Total |
| sheet.pivot.context-menu.show-data-as.5 | Show Values As - % of Parent Column Total |
| sheet.pivot.context-menu.show-data-as.8 | Show Values As - Index |
| sheet.pivot.context-menu.show-data-as.14 | Show Values As - % of Parent Total |
| sheet.pivot.context-menu.show-data-as.13 | Show Values As - % Of |
| sheet.pivot.context-menu.show-data-as.9 | Show Values As - Difference From |
| sheet.pivot.context-menu.show-data-as.10 | Show Values As - % Difference From |
| sheet.pivot.context-menu.show-data-as.11 | Show Values As - Running Total In |
| sheet.pivot.context-menu.show-data-as.12 | Show Values As - % Running Total In |
| sheet.pivot.context-menu.show-data-as.15 | Show Values As - Rank Smallest to Largest |
| sheet.pivot.context-menu.show-data-as.16 | Show Values As - Rank Largest to Smallest |
Drawing and chart menu items
| Menu Item ID | Menu Item Name |
|---|---|
| contextMenu.drawing-group | Group |
| drawing.operation.set-drawing-group | Group |
| drawing.operation.cancel-drawing-group | Ungroup |
| contextMenu.drawing-arrange | Arrange |
| drawing.operation.set-drawing-arrange-front | Bring to Front |
| drawing.operation.set-drawing-arrange-forward | Bring Forward |
| drawing.operation.set-drawing-arrange-back | Send to Back |
| drawing.operation.set-drawing-arrange-backward | Send Backward |
| contextMenu.drawing-align | Align |
| sheet.operation.set-drawing-align-left | Align Left |
| sheet.operation.set-drawing-align-center | Align Center |
| sheet.operation.set-drawing-align-right | Align Right |
| sheet.operation.set-drawing-align-top | Align Top |
| sheet.operation.set-drawing-align-middle | Align Middle |
| sheet.operation.set-drawing-align-bottom | Align Bottom |
| sheet.operation.set-drawing-align-horizon | Distribute Horizontally |
| sheet.operation.set-drawing-align-vertical | Distribute Vertically |
| sheet.operation.add-drawing-comment | Add Comment |
| sheet.command.chart.open-focused-panel | Edit chart |
| sheet.command.chart.copy-focused-chart | Copy |
| sheet.command.chart.export-focused-image | Export as image |
| sheet.command.chart.delete-focused-chart | Delete chart |
Contextual ribbon menu items
These controls appear when the matching shape, slicer, or timeline is selected.
| Menu Item ID | Menu Item Name |
|---|---|
| sheet.operation.apply-shape-quick-style | Quick styles |
| sheet.operation.update-shape-type | Change Shape |
| sheets-shape-ui.ribbon.shape-format.style-control | Shape style controls |
| sheets-shape-ui.ribbon.shape-format.text-control | Shape text controls |
| sheet.menu.shape.flip-horizontal | Flip Horizontal |
| sheet.menu.shape.flip-vertical | Flip Vertical |
| sheets-shape-ui.ribbon.shape-format.arrange-forward | Bring Forward |
| sheets-shape-ui.ribbon.shape-format.arrange-backward | Send Backward |
| sheets-shape-ui.ribbon.shape-format.arrange-front | Bring to Front |
| sheets-shape-ui.ribbon.shape-format.arrange-back | Send to Back |
| sheets-shape-ui.ribbon.shape-format.formula-control | Formula shape controls |
| sheet.operation.open-sheet-shape-format-panel | Format Shape |
| shape-editor-ui.operation.toggle-floating-toolbar | Floating toolbar |
| sheet.menu.slicer-quick-style | Quick styles |
| sheet.menu.slicer-settings | Slicer settings |
| sheet.menu.timeline-settings | Timeline settings |
| sheet.menu.slicer-connections | Report connections |
Mobile-only menu items
| Menu Item ID | Menu Item Name |
|---|---|
| sheet.menu.mobile.crosshair-highlight | Crosshair Highlight |
| sheet.menu.mobile.numfmt | Number format |
| sheet.command.set-once-format-painter | Paint format |
How is this guide?