@univerjscoreclassesSheetviewmodel

@univerjs/core v0.5.4


Class: SheetViewModel

Defined in: packages/api/tmp/univer-pro/submodules/univer/packages/core/src/sheets/view-model.ts:57

Internal

Extends

Constructors

new SheetViewModel()

new SheetViewModel(getRawCell): SheetViewModel

Defined in: packages/api/tmp/univer-pro/submodules/univer/packages/core/src/sheets/view-model.ts:61

Parameters

ParameterType
getRawCell(row, col) => Nullable<ICellData>

Returns

SheetViewModel

Overrides

Disposable.constructor

Properties

PropertyModifierTypeDefault valueInherited fromDefined in
_disposedprotectedbooleanfalseDisposable._disposedpackages/api/tmp/univer-pro/submodules/univer/packages/core/src/shared/lifecycle.ts:96

Methods

dispose()

dispose(): void

Defined in: packages/api/tmp/univer-pro/submodules/univer/packages/core/src/sheets/view-model.ts:67

Returns

void

Overrides

Disposable.dispose


disposeWithMe()

disposeWithMe(disposable): IDisposable

Defined in: packages/api/tmp/univer-pro/submodules/univer/packages/core/src/shared/lifecycle.ts:99

Parameters

ParameterType
disposableDisposableLike

Returns

IDisposable

Inherited from

Disposable.disposeWithMe


ensureNotDisposed()

protected ensureNotDisposed(): void

Defined in: packages/api/tmp/univer-pro/submodules/univer/packages/core/src/shared/lifecycle.ts:103

Returns

void

Inherited from

Disposable.ensureNotDisposed


getCell()

Call Signature

getCell(row, col): Nullable<ICellDataForSheetInterceptor>

Defined in: packages/api/tmp/univer-pro/submodules/univer/packages/core/src/sheets/view-model.ts:74

Parameters
ParameterType
rownumber
colnumber
Returns

Nullable<ICellDataForSheetInterceptor>

Call Signature

getCell(
   row, 
   col, 
   key, 
filter): Nullable<ICellDataForSheetInterceptor>

Defined in: packages/api/tmp/univer-pro/submodules/univer/packages/core/src/sheets/view-model.ts:75

Parameters
ParameterType
rownumber
colnumber
keystring
filter(interceptor) => boolean
Returns

Nullable<ICellDataForSheetInterceptor>


getCellStyleOnly()

getCellStyleOnly(row, col): Nullable<ICellDataForSheetInterceptor>

Defined in: packages/api/tmp/univer-pro/submodules/univer/packages/core/src/sheets/view-model.ts:92

Parameters

ParameterType
rownumber
colnumber

Returns

Nullable<ICellDataForSheetInterceptor>


getCellValueOnly()

getCellValueOnly(row, col): Nullable<ICellDataForSheetInterceptor>

Defined in: packages/api/tmp/univer-pro/submodules/univer/packages/core/src/sheets/view-model.ts:84

Parameters

ParameterType
rownumber
colnumber

Returns

Nullable<ICellDataForSheetInterceptor>


getRowFiltered()

getRowFiltered(row): boolean

Defined in: packages/api/tmp/univer-pro/submodules/univer/packages/core/src/sheets/view-model.ts:100

Parameters

ParameterType
rownumber

Returns

boolean


registerCellContentInterceptor()

registerCellContentInterceptor(interceptor): IDisposable

Defined in: packages/api/tmp/univer-pro/submodules/univer/packages/core/src/sheets/view-model.ts:104

Parameters

ParameterType
interceptorICellContentInterceptor

Returns

IDisposable


registerRowFilteredInterceptor()

registerRowFilteredInterceptor(interceptor): IDisposable

Defined in: packages/api/tmp/univer-pro/submodules/univer/packages/core/src/sheets/view-model.ts:113

Parameters

ParameterType
interceptorIRowFilteredInterceptor

Returns

IDisposable