API Reference

@univerjs/preset-sheets-core

TypeScript
import { UniverSheetsCorePreset } from '@univerjs/preset-sheets-core'const preset = UniverSheetsCorePreset()

IUniverSheetsCorePresetConfig

OptionTypeBehavior
containerstring or HTMLElementUI mount container.
header, toolbar, ribbonType, contextMenu, disableAutoFocus, customFontFamilyUI optionsForwarded to UniverUIPlugin; see UI configuration.
menuMenuConfigMenu item overrides, sibling order for Ribbon tabs/groups/items, and gridLayout for the grid Ribbon. See menu configuration and updateMenuConfig() for runtime updates.
formulaBar, footerSheets UI optionsForwarded to UniverSheetsUIPlugin; see Sheets UI configuration.
disableTextFormatAlert, disableTextFormatMarkbooleanControl the warning and marker for text-formatted numeric cells.
docsIUniverDocsPresetConfigThe preset forwards docs.hasScroll to the Docs model plugin.
sheetsIUniverSheetsPresetConfigRow/column style priority, merged-cell auto height, freeze synchronization, maximum auto-height count, clipboard and scrollbar options, protected-range display/user selection, and forced-string warnings.
formulaIUniverFormulaConfigCustom functions, function descriptions, initial formula computation and function screen tips.
workerURLIUniverRPCMainThreadConfig['workerURL']Enables the browser RPC worker for formula computation. Optional when calling the preset function.

How is this guide?

© 2026 DreamNum Co., Ltd.