@univerjs/sheets-sort v0.5.0-beta.1 • 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
Properties
Property | Modifier | Type | Default value | Inherited from | Defined in |
---|---|---|---|---|---|
_disposed | protected | boolean | false | Disposable ._disposed | core/src/shared/lifecycle.ts:93 |
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
dispose()
dispose(): void
Returns
void
Inherited from
Defined in
core/src/shared/lifecycle.ts:106
disposeWithMe()
disposeWithMe(disposable): IDisposable
Parameters
Parameter | Type |
---|---|
disposable | DisposableLike |
Returns
Inherited from
Defined in
core/src/shared/lifecycle.ts:96
emptyCheck()
emptyCheck(location): boolean
Parameters
Parameter | Type |
---|---|
location | ISheetRangeLocation |
Returns
boolean
Defined in
sheets-sort/src/services/sheets-sort.service.ts:57
ensureNotDisposed()
protected ensureNotDisposed(): void
Returns
void
Inherited from
Defined in
core/src/shared/lifecycle.ts:100
formulaCheck()
formulaCheck(location): boolean
Parameters
Parameter | Type |
---|---|
location | ISheetRangeLocation |
Returns
boolean
Defined in
sheets-sort/src/services/sheets-sort.service.ts:80
getAllCompareFns()
getAllCompareFns(): ICellValueCompareFn[]
Returns
ICellValueCompareFn
[]
Defined in
sheets-sort/src/services/sheets-sort.service.ts:99
mergeCheck()
mergeCheck(location): boolean
Parameters
Parameter | Type |
---|---|
location | ISheetRangeLocation |
Returns
boolean
Defined in
sheets-sort/src/services/sheets-sort.service.ts:43
registerCompareFn()
registerCompareFn(fn): void
Parameters
Parameter | Type |
---|---|
fn | ICellValueCompareFn |
Returns
void
Defined in
sheets-sort/src/services/sheets-sort.service.ts:95
singleCheck()
singleCheck(location): boolean
Parameters
Parameter | Type |
---|---|
location | ISheetRangeLocation |
Returns
boolean
Defined in
sheets-sort/src/services/sheets-sort.service.ts:73