Class: SheetsSortService
Defined in: sheets-sort/src/services/sheets-sort.service.ts:32
Extends
Constructors
new SheetsSortService()
new SheetsSortService(
_univerInstanceService,
_commandService,
_formulaDataModel): SheetsSortService
Defined in: sheets-sort/src/services/sheets-sort.service.ts:35
Parameters
Parameter | Type |
---|---|
_univerInstanceService | IUniverInstanceService |
_commandService | ICommandService |
_formulaDataModel | FormulaDataModel |
Returns
Overrides
Properties
Property | Modifier | Type | Default value | Inherited from | Defined in |
---|---|---|---|---|---|
_disposed | protected | boolean | false | Disposable ._disposed | core/src/shared/lifecycle.ts:96 |
Methods
applySort()
applySort(
sortOption,
unitId?,
subUnitId?): void
Defined in: sheets-sort/src/services/sheets-sort.service.ts:103
Parameters
Parameter | Type |
---|---|
sortOption | ISortOption |
unitId ? | string |
subUnitId ? | string |
Returns
void
dispose()
dispose(): void
Defined in: core/src/shared/lifecycle.ts:109
Returns
void
Inherited from
disposeWithMe()
disposeWithMe(disposable): IDisposable
Defined in: core/src/shared/lifecycle.ts:99
Parameters
Parameter | Type |
---|---|
disposable | DisposableLike |
Returns
Inherited from
emptyCheck()
emptyCheck(location): boolean
Defined in: sheets-sort/src/services/sheets-sort.service.ts:57
Parameters
Parameter | Type |
---|---|
location | ISheetRangeLocation |
Returns
boolean
ensureNotDisposed()
protected ensureNotDisposed(): void
Defined in: core/src/shared/lifecycle.ts:103
Returns
void
Inherited from
formulaCheck()
formulaCheck(location): boolean
Defined in: sheets-sort/src/services/sheets-sort.service.ts:80
Parameters
Parameter | Type |
---|---|
location | ISheetRangeLocation |
Returns
boolean
getAllCompareFns()
getAllCompareFns(): ICellValueCompareFn[]
Defined in: sheets-sort/src/services/sheets-sort.service.ts:99
Returns
ICellValueCompareFn
[]
mergeCheck()
mergeCheck(location): boolean
Defined in: sheets-sort/src/services/sheets-sort.service.ts:43
Parameters
Parameter | Type |
---|---|
location | ISheetRangeLocation |
Returns
boolean
registerCompareFn()
registerCompareFn(fn): void
Defined in: sheets-sort/src/services/sheets-sort.service.ts:95
Parameters
Parameter | Type |
---|---|
fn | ICellValueCompareFn |
Returns
void
singleCheck()
singleCheck(location): boolean
Defined in: sheets-sort/src/services/sheets-sort.service.ts:73
Parameters
Parameter | Type |
---|---|
location | ISheetRangeLocation |
Returns
boolean