SheetFeatures Interface
Sparse portable features shared by the editor, server and XLSX filter.
Package: @txtextcontrol/tx-sheet-control. Version: 2.0.0.
Type-only declaration; it is not a JavaScript runtime constructor.
Members
Properties
| Property | Description |
|---|---|
| cellTypes | The cellTypes value of SheetFeatures. |
| comments | The comments value of SheetFeatures. |
| hyperlinks | The hyperlinks value of SheetFeatures. |
| notes | The notes value of SheetFeatures. |
| protection | The protection value of SheetFeatures. |
| tabColor | Optional sRGB tab color (#rrggbb). Absent means the default editor tab appearance. |
| tables | The tables value of SheetFeatures. |
| validations | The validations value of SheetFeatures. |
| view | The view value of SheetFeatures. |
Examples
Pass the SheetFeatures value obtained from its owning control, collection, callback or operation. The function reads that value without constructing a replacement document object.
import type { SheetFeatures } from '@txtextcontrol/tx-sheet-control';
function inspectSheetFeaturesTabColor(sheetFeatures: SheetFeatures) {
const value = sheetFeatures['tabColor'];
console.log('SheetFeatures.tabColor', value);
}