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
Parameter | Type |
---|---|
getRawCell | (row , col ) => Nullable <ICellData > |
Returns
Overrides
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: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
disposeWithMe()
disposeWithMe(disposable): IDisposable
Defined in: packages/api/tmp/univer-pro/submodules/univer/packages/core/src/shared/lifecycle.ts:99
Parameters
Parameter | Type |
---|---|
disposable | DisposableLike |
Returns
Inherited from
ensureNotDisposed()
protected ensureNotDisposed(): void
Defined in: packages/api/tmp/univer-pro/submodules/univer/packages/core/src/shared/lifecycle.ts:103
Returns
void
Inherited from
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
Parameter | Type |
---|---|
row | number |
col | number |
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
Parameter | Type |
---|---|
row | number |
col | number |
key | string |
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
Parameter | Type |
---|---|
row | number |
col | number |
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
Parameter | Type |
---|---|
row | number |
col | number |
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
Parameter | Type |
---|---|
row | number |
Returns
boolean
registerCellContentInterceptor()
registerCellContentInterceptor(interceptor): IDisposable
Defined in: packages/api/tmp/univer-pro/submodules/univer/packages/core/src/sheets/view-model.ts:104
Parameters
Parameter | Type |
---|---|
interceptor | ICellContentInterceptor |
Returns
registerRowFilteredInterceptor()
registerRowFilteredInterceptor(interceptor): IDisposable
Defined in: packages/api/tmp/univer-pro/submodules/univer/packages/core/src/sheets/view-model.ts:113
Parameters
Parameter | Type |
---|---|
interceptor | IRowFilteredInterceptor |