API Reference
@univerjs
@univerjs/sheets-filter-ui
Readme

@univerjs/sheets-filter-ui v0.4.2Docs


@univerjs/sheets-filter-ui

Classes

ClassDescription
UniverSheetsFilterMobileUIPluginPlug-in base class, all plug-ins must inherit from this base class. Provide basic methods.
UniverSheetsFilterUIPluginThe plugin for the desktop version of the sheets filter UI. Its type is UniverInstanceType.UNIVER_SHEET.
UniverSheetsFilterUIWorkerPluginPlug-in base class, all plug-ins must inherit from this base class. Provide basic methods.

Interfaces

InterfaceDescription
IOpenFilterPanelOperationParams-
ISetSheetFilterRangeCommandParamsParameters of command SetSheetFilterRangeCommand.
ISetSheetsFilterCriteriaCommandParamsParameters of command SetSheetsFilterCriteriaCommand.

Variables

VariableDescription
ChangeFilterByOperation-
ClearSheetsFilterCriteriaCommandA CommandType.COMMAND to clear all filter criteria in the targeting FilterModel. Its params ISheetCommandSharedParams is required.
CloseFilterPanelOperation-
OpenFilterPanelOperationThe operation to open the filter panel and prepare for changing the filter conditions on a given column.
ReCalcSheetsFilterCommandA CommandType.COMMAND forcing the currently active FilterModel to re-calculate all filter criteria. Its params ISheetCommandSharedParams is required.
RemoveSheetFilterCommandA CommandType.COMMAND to remove filter in a Worksheet. Its params ISheetCommandSharedParams is required. If the FilterModel does not exist, it will fail to execute.
SetSheetFilterRangeCommandA CommandType.COMMAND to set filter range in a Worksheet. Its params ISetSheetFilterRangeCommandParams is required. If the FilterModel does not exist, it will be created.
SetSheetsFilterCriteriaCommandA CommandType.COMMAND to set filter criteria to a column in the targeting FilterModel. Its params ISetSheetsFilterCriteriaCommandParams is required.
SmartToggleSheetsFilterCommandA CommandType.COMMAND to toggle filter in the current Worksheet.

Copyright © 2021-2024 DreamNum Co,Ltd. All Rights Reserved.