DimTreeView.getNameAttributesId

Syntax

getNameAttributesId();

Description

The getNameAttributesId method returns an array of identifiers of displayed attributes.

Example

To execute the example, the HTML page must contain the DimTree component named dimTree (see Example of Creating the DimTree Component). Get an array of identifiers of displayed attributes:

// Output an array of identifiers of displayed attributes
var arrAttr = dimTree.getNameAttributesId();
console.log("Displayed attributes:");
for (var i=0; i<arrAttr.length; i++) {
    console.log(arrAttr[i]);
}

As a result the console displays identifiers of displayed attributes:

Displayed attributes:

NAME

See also:

DimTreeView