DefinedNameDirective

12 Sep 20251 minute to read

e-definedname directive represent a defined name of the Angular Spreadsheet.
It must be contained in a Spreadsheet component(ejs-spreadsheet).

<ejs-spreadsheet>
  <e-definednames>
   <e-definedname></e-definedname>
   <e-definedname></e-definedname>
  </e-definednames>
</ejs-spreadsheet>

Properties

comment any

Provides a comment or description for the defined name.

Defaults to ’’

name any

Specifies a unique name for the defined name, which can be used in formulas.

Defaults to ’’

refersTo any

Specifies the cell or range reference associated with the defined name.
The reference can be provided with or without the = prefix.

Defaults to ’’

scope any

Defines the scope of the name.
If not specified, the name is scoped to the entire workbook.
If a sheet name is provided, the name will be available only within that specific sheet.

Defaults to ’’