API Reference
@univerjs
@univerjs/sheets-filter
variables
Setsheetsfilterrangemutation

@univerjs/sheets-filter v0.1.17Docs


Variable: SetSheetsFilterRangeMutation

const SetSheetsFilterRangeMutation: IMutation<ISetSheetsFilterRangeMutationParams>;

Set filter range in a Worksheet. If the FilterModel does not exist, it will be created.

Since there could only be a filter on a worksheet, when you want to update the range, you don't necessarily need to remove the filter first, you can just execute this mutation.

Defined in

sheets-filter/src/commands/sheets-filter.mutation.ts:37 (opens in a new tab)


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