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

@univerjs/sheets-filter v0.4.2Docs


Variable: SetSheetsFilterRangeMutation

const SetSheetsFilterRangeMutation: IMutation<ISetSheetsFilterRangeMutationParams>;

A CommandType.MUTATION to set filter range in a Worksheet. If no FilterModel exists, a new FilterModel 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/mutations/sheets-filter.mutation.ts:39 (opens in a new tab)


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