@univerjs/core v0.5.0-beta.1 • Docs
Class: SheetViewModel
Internal
Extends
Constructors
new SheetViewModel()
new SheetViewModel(getRawCell): SheetViewModel
Parameters
Parameter | Type |
---|---|
getRawCell | (row , col ) => Nullable <ICellData > |
Returns
Overrides
Defined in
packages/api/tmp/univer-pro/submodules/univer/packages/core/src/sheets/view-model.ts:60
Properties
Property | Modifier | Type | Default value | Inherited from | Defined in |
---|---|---|---|---|---|
_disposed | protected | boolean | false | Disposable ._disposed | packages/api/tmp/univer-pro/submodules/univer/packages/core/src/shared/lifecycle.ts:93 |
Methods
dispose()
dispose(): void
Returns
void
Overrides
Defined in
packages/api/tmp/univer-pro/submodules/univer/packages/core/src/sheets/view-model.ts:66
disposeWithMe()
disposeWithMe(disposable): IDisposable
Parameters
Parameter | Type |
---|---|
disposable | DisposableLike |
Returns
Inherited from
Defined in
packages/api/tmp/univer-pro/submodules/univer/packages/core/src/shared/lifecycle.ts:96
ensureNotDisposed()
protected ensureNotDisposed(): void
Returns
void
Inherited from
Defined in
packages/api/tmp/univer-pro/submodules/univer/packages/core/src/shared/lifecycle.ts:100
getCell()
getCell(row, col): Nullable<ICellDataForSheetInterceptor>
Parameters
Parameter | Type |
---|---|
row | number |
col | number |
Returns
Nullable
<ICellDataForSheetInterceptor
>
Defined in
packages/api/tmp/univer-pro/submodules/univer/packages/core/src/sheets/view-model.ts:73
getCellStyleOnly()
getCellStyleOnly(row, col): Nullable<ICellDataForSheetInterceptor>
Parameters
Parameter | Type |
---|---|
row | number |
col | number |
Returns
Nullable
<ICellDataForSheetInterceptor
>
Defined in
packages/api/tmp/univer-pro/submodules/univer/packages/core/src/sheets/view-model.ts:89
getCellValueOnly()
getCellValueOnly(row, col): Nullable<ICellDataForSheetInterceptor>
Parameters
Parameter | Type |
---|---|
row | number |
col | number |
Returns
Nullable
<ICellDataForSheetInterceptor
>
Defined in
packages/api/tmp/univer-pro/submodules/univer/packages/core/src/sheets/view-model.ts:81
getRowFiltered()
getRowFiltered(row): boolean
Parameters
Parameter | Type |
---|---|
row | number |
Returns
boolean
Defined in
packages/api/tmp/univer-pro/submodules/univer/packages/core/src/sheets/view-model.ts:97
registerCellContentInterceptor()
registerCellContentInterceptor(interceptor): IDisposable
Parameters
Parameter | Type |
---|---|
interceptor | ICellContentInterceptor |
Returns
Defined in
packages/api/tmp/univer-pro/submodules/univer/packages/core/src/sheets/view-model.ts:101
registerRowFilteredInterceptor()
registerRowFilteredInterceptor(interceptor): IDisposable
Parameters
Parameter | Type |
---|---|
interceptor | IRowFilteredInterceptor |
Returns
Defined in
packages/api/tmp/univer-pro/submodules/univer/packages/core/src/sheets/view-model.ts:110