API Reference
@univerjs
@univerjs/engine-formula
classes
Supertableservice

@univerjs/engine-formula v0.4.2Docs


Class: SuperTableService

Extends

Implements

Constructors

new SuperTableService()

new SuperTableService(): SuperTableService

Returns

SuperTableService

Inherited from

Disposable.constructor

Properties

PropertyModifierTypeDefault valueInherited fromDefined in
_disposedprotectedbooleanfalseDisposable._disposedpackages/core/src/shared/lifecycle.ts:93 (opens in a new tab)

Methods

dispose()

dispose(): void

Returns

void

Overrides

Disposable.dispose

Defined in

packages/engine-formula/src/services/super-table.service.ts:46 (opens in a new tab)


disposeWithMe()

disposeWithMe(disposable): IDisposable

Parameters

ParameterType
disposableDisposableLike

Returns

IDisposable

Inherited from

Disposable.disposeWithMe

Defined in

packages/core/src/shared/lifecycle.ts:96 (opens in a new tab)


ensureNotDisposed()

protected ensureNotDisposed(): void

Returns

void

Inherited from

Disposable.ensureNotDisposed

Defined in

packages/core/src/shared/lifecycle.ts:100 (opens in a new tab)


getTableMap()

getTableMap(unitId): undefined | Map<string, ISuperTable>

Parameters

ParameterType
unitIdstring

Returns

undefined | Map<string, ISuperTable>

Implementation of

ISuperTableService.getTableMap

Defined in

packages/engine-formula/src/services/super-table.service.ts:56 (opens in a new tab)


getTableOptionMap()

getTableOptionMap(): Map<string, TableOptionType>

Returns

Map<string, TableOptionType>

Implementation of

ISuperTableService.getTableOptionMap

Defined in

packages/engine-formula/src/services/super-table.service.ts:60 (opens in a new tab)


registerTable()

registerTable(
   unitId, 
   tableName, 
   reference): void

Parameters

ParameterType
unitIdstring
tableNamestring
referenceISuperTable

Returns

void

Implementation of

ISuperTableService.registerTable

Defined in

packages/engine-formula/src/services/super-table.service.ts:64 (opens in a new tab)


registerTableOptionMap()

registerTableOptionMap(tableOption, tableOptionType): void

Parameters

ParameterType
tableOptionstring
tableOptionTypeTableOptionType

Returns

void

Implementation of

ISuperTableService.registerTableOptionMap

Defined in

packages/engine-formula/src/services/super-table.service.ts:71 (opens in a new tab)


remove()

remove(unitId, tableName): void

Parameters

ParameterType
unitIdstring
tableNamestring

Returns

void

Implementation of

ISuperTableService.remove

Defined in

packages/engine-formula/src/services/super-table.service.ts:52 (opens in a new tab)


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