Univer
Univer Sheet
Features
Gridlines
Gridlines 0.4.2+
📊 Univer Sheet
import { LocaleType, Univer, UniverInstanceType } from '@univerjs/core' import { UniverFormulaEnginePlugin } from '@univerjs/engine-formula' import { UniverRenderEnginePlugin } from '@univerjs/engine-render' import { UniverUIPlugin } from '@univerjs/ui' import { defaultTheme } from '@univerjs/design' import { UniverDocsPlugin } from '@univerjs/docs' import { UniverDocsUIPlugin } from '@univerjs/docs-ui' import { UniverSheetsPlugin } from '@univerjs/sheets' import { UniverSheetsUIPlugin } from '@univerjs/sheets-ui' import { UniverSheetsNumfmtPlugin } from '@univerjs/sheets-numfmt' import { UniverSheetsFormulaPlugin } from '@univerjs/sheets-formula' import { enUS } from './locales' import './style.css' const univer = new Univer({ theme: defaultTheme, locale: LocaleType.EN_US, locales: { [LocaleType.EN_US]: enUS, }, }) univer.registerPlugin(UniverRenderEnginePlugin) univer.registerPlugin(UniverFormulaEnginePlugin) univer.registerPlugin(UniverUIPlugin, { container: 'app', disableAutoFocus: true, }) univer.registerPlugin(UniverDocsPlugin) univer.registerPlugin(UniverDocsUIPlugin) univer.registerPlugin(UniverSheetsPlugin) univer.registerPlugin(UniverSheetsUIPlugin) univer.registerPlugin(UniverSheetsNumfmtPlugin) univer.registerPlugin(UniverSheetsFormulaPlugin) univer.createUnit(UniverInstanceType.UNIVER_SHEET, {})
From version 0.4.2, you can toggle the visiblity of a Worksheet's gridlines.