getGroups ();
The getGroups method returns information about all groups of dictionary elements.
To execute the example, the HTML page must contain DimensionTree component named dimTree with the source dim (see Example of Creating the DimensionTree Component). Show information about dictionary element groups:
console.log(dim.getGroups()[0].n);
After executing the example name of the first elements group is displayed in the browser console.
See also: