@univerjs/sheets-filter
本 API 页面目前提供英文正文。代码签名与标识符不随界面语言变化。
Filtering model, commands, and services for Univer Sheets.
TypeScript
import { UniverSheetsFilterPlugin } from '@univerjs/sheets-filter'univer.registerPlugin(UniverSheetsFilterPlugin, IUniverSheetsFilterConfig)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 }}你觉得这篇文档如何?