getStackPanel();
The getStackPanel method returns container for data views.
Executing the example requires that the HTML page contains the ExpressBox component named expressBox (see Example of Creating the ExpressBox Component). Then get the current number of elements stored in container for data views:
// Get an object of the EaxDataView class var dataView = expressBox.getDataView(); console.log("Elements count: " + dataView.getStackPanel().getCount());
Executing the example displays the number of elements in the container for data views:
Elements count: 1
See also: