TotalCount: Number
The TotalCount property determines total number of elements in dictionary.
To execute the example, the HTML page must contain the ExpressBox component named expressBox (see Example of Creating the ExpressBox Component). Determine maximum number of dictionary elements:
eax = expressBox.getSource(); // Get dimension with the 1 index dim = eax.getDims()[1]; // Get maximum number of elements console.debug(dim.getTotalCount()); // -> 119
After executing the example the browser console shows maximum number of dictionary elements with the 1 index.
See also: