@univerjssheets-filterfacadeinterfacesIfrangefilter

@univerjs/sheets-filter v0.5.1Docs


Interface: IFRangeFilter

Methods

createFilter()

createFilter(this): Promise<null | FFilter>

Create a filter for the current range. If the worksheet already has a filter, this method would return null.

Parameters

ParameterType
thisFRange

Returns

Promise<null | FFilter>

The interface class to handle the filter. If the worksheet already has a filter, this method would return null.

Async

Defined in

sheets-filter/src/facade/f-range.ts:32


getFilter()

getFilter(): null | FFilter

Get the filter for the current range’s worksheet.

Returns

null | FFilter

The interface class to handle the filter. If the worksheet does not have a filter, this method would return null.

Defined in

sheets-filter/src/facade/f-range.ts:39