Build your own AI office with Univer Office SDK. Bring editing, calculation, collaboration, and file processing into your product for people and AI agents. Built on an extensible open-source core.
TypeScript boardcollaborationdocdocxexceloffce365officepdfpptpptxpresentationsdksheetslidesspreadsheetuniverwordwordprocessorworkspacexlsx
@univerjs/sheets-data-validation-ui
@univerjs/sheets-data-validation-ui adds data validation menus, dialogs, dropdowns, and validation UI for Univer Sheets.
Package Overview
| Package | UMD global | CSS | Locales | Facade entry | Worker entry |
|---|---|---|---|---|---|
@univerjs/sheets-data-validation-ui |
UniverSheetsDataValidationUi |
Yes | Yes | No | No |
Installation
pnpm add @univerjs/sheets-data-validation-ui
# or
npm install @univerjs/sheets-data-validation-ui
Usage
Start with the integration setup for your document type, including its required plugins, styles, and locale resources. The snippet below assumes that setup is complete.
import '@univerjs/sheets-data-validation-ui/lib/index.css';
import EnUS from '@univerjs/sheets-data-validation-ui/locale/en-US';
import { UniverSheetsDataValidationUIPlugin } from '@univerjs/sheets-data-validation-ui';
univer.registerPlugin(UniverSheetsDataValidationUIPlugin);
// Merge EnUS into your Univer locale map when this package contributes UI text.
Exported plugin classes:
UniverSheetsDataValidationUIPluginUniverSheetsDataValidationMobileUIPlugin