@univerjs/sheets-ui v0.5.1 • Docs
Interface: IFUniverSheetsUIMixin
Methods
customizeColumnHeader()
customizeColumnHeader(cfg): void
Customize the column header of the spreadsheet.
Parameters
Parameter | Type | Description |
---|---|---|
cfg | IColumnsHeaderCfgParam | The configuration of the column header. |
Returns
void
Example
customizeColumnHeader({ headerStyle: { backgroundColor: 'pink', fontSize: 9 }, columnsCfg: ['MokaII', undefined, null, { text: 'Size', textAlign: 'left' }] });
Defined in
submodules/univer/packages/sheets-ui/src/facade/f-univer.ts:43
customizeRowHeader()
customizeRowHeader(cfg): void
Customize the row header of the spreadsheet.
Parameters
Parameter | Type | Description |
---|---|---|
cfg | IRowsHeaderCfgParam | The configuration of the row header. |
Returns
void
Example
customizeRowHeader({ headerStyle: { backgroundColor: 'pink', fontSize: 9 }, rowsCfg: ['MokaII', undefined, null, { text: 'Size', textAlign: 'left' }] });
Defined in
submodules/univer/packages/sheets-ui/src/facade/f-univer.ts:54
getSheetHooks()
getSheetHooks(): FSheetHooks
Get sheet hooks.
Returns
FSheetHooks instance
Defined in
submodules/univer/packages/sheets-ui/src/facade/f-univer.ts:85
registerSheetColumnHeaderExtension()
registerSheetColumnHeaderExtension(unitId, ...extensions): IDisposable
Register sheet column header render extensions.
Parameters
Parameter | Type | Description |
---|---|---|
unitId | string | The unit id of the spreadsheet. |
…extensions | SheetExtension [] | The extensions to register. |
Returns
The disposable instance.
Defined in
submodules/univer/packages/sheets-ui/src/facade/f-univer.ts:70
registerSheetMainExtension()
registerSheetMainExtension(unitId, ...extensions): IDisposable
Register sheet main render extensions.
Parameters
Parameter | Type | Description |
---|---|---|
unitId | string | The unit id of the spreadsheet. |
…extensions | SheetExtension [] | The extensions to register. |
Returns
The disposable instance.
Defined in
submodules/univer/packages/sheets-ui/src/facade/f-univer.ts:78
registerSheetRowHeaderExtension()
registerSheetRowHeaderExtension(unitId, ...extensions): IDisposable
Register sheet row header render extensions.
Parameters
Parameter | Type | Description |
---|---|---|
unitId | string | The unit id of the spreadsheet. |
…extensions | SheetExtension [] | The extensions to register. |
Returns
The disposable instance.
Defined in
submodules/univer/packages/sheets-ui/src/facade/f-univer.ts:62