API 참조

@univerjs/sheets-data-validation-ui

이 API 페이지의 본문은 현재 영어로 제공됩니다. 코드 시그니처와 식별자는 언어에 따라 바뀌지 않습니다.

Data validation UI for Univer Sheets.

TypeScript
import { UniverSheetsDataValidationUIPlugin } from '@univerjs/sheets-data-validation-ui'univer.registerPlugin(UniverSheetsDataValidationUIPlugin, {})

Entry Points

  • Locale: @univerjs/sheets-data-validation-ui/locale/*

Panel customization

The root entry exports DATA_VALIDATION_PANEL for overriding the built-in panel, and DataValidationPanelService for coordinating its state. Resolve the service through Univer’s dependency injection container. It exposes isOpen / open$, activeRule / activeRule$, and open(), close(), and setActiveRule().

IUniverSheetsDataValidationUIConfig

TypeScript
import type { MenuConfig } from '@univerjs/ui'export interface IUniverSheetsDataValidationUIConfig {  menu?: MenuConfig  /**   * Whether to show the edit button in the dropdown list of data validation   * @default true   */  showEditOnDropdown?: boolean  /**   * Whether to show the search box in the dropdown list of data validation   * @default true   */  showSearchOnDropdown?: boolean}

이 가이드는 어떠셨나요?

© 2026 DreamNum Co., Ltd.