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