Interface NamedItemsOptions

interface NamedItemsOptions {
    addRangeListener?: ((address, listener, options?) => RemoveListener);
    decodeAddress: ((address) => SheetCellRangeCoords[]);
    encodeAddress: ((addresses) => string);
    initialJSON?: NamedItemsJSON;
    transactionStore?: TransactionStore;
    workbook?: IWorkbookModel;
}

Properties

addRangeListener?: ((address, listener, options?) => RemoveListener)

If provided then the named ranges will update when the ranges update.

Type declaration

decodeAddress: ((address) => SheetCellRangeCoords[])

Required for resolving ranges.

Type declaration

encodeAddress: ((addresses) => string)

Required for resolving ranges.

Type declaration

initialJSON?: NamedItemsJSON
transactionStore?: TransactionStore

A transaction store that can be used to undo/redo changes to the namedRanges.

workbook?: IWorkbookModel