API 參考

@univerjs/sheets-filter

此 API 頁面目前提供英文內容。程式碼簽名與識別符不隨介面語言變更。

Filtering model, commands, and services for Univer Sheets.

TypeScript
import { UniverSheetsFilterPlugin } from '@univerjs/sheets-filter'univer.registerPlugin(UniverSheetsFilterPlugin, {})

Entry Points

  • Facade: @univerjs/sheets-filter/facade
  • Locale: @univerjs/sheets-filter/locale/*

IUniverSheetsFilterConfig

TypeScript
export interface IUniverSheetsFilterConfig {  /**   * Whether to display the filter sync switch in the filter panel.   * This configuration can be used in a collaboration scenario to allow users to choose whether to enable filter synchronization.   * If set to a defaultValue object, the filter sync switch will be displayed and its initial state will be determined by the defaultValue property.   * @default false   */  enableSyncSwitch?: boolean | { defaultValue: boolean }}

你覺得這篇文檔如何?

© 2026 DreamNum Co., Ltd.