TX Sheet Control

SheetFeatures Interface

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

PropertyDescription
cellTypesThe cellTypes value of SheetFeatures.
commentsThe comments value of SheetFeatures.
hyperlinksThe hyperlinks value of SheetFeatures.
notesThe notes value of SheetFeatures.
protectionThe protection value of SheetFeatures.
tabColorOptional sRGB tab color (#rrggbb). Absent means the default editor tab appearance.
tablesThe tables value of SheetFeatures.
validationsThe validations value of SheetFeatures.
viewThe 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);
}

See Also