ShowOnlyContainers : Boolean;
The ShowOnlyContainers property determines a mode for displaying only containers.
Use JSON or the setShowOnlyContainers method to set the property value and the getShowOnlyContainers method to get the property value.
To execute the example, the page must contain NavigatorBox component named navbox (see Example of Creating the NavigatorBox Component).
// Get object view view = navbox.getObjectsView(); // Display only containers view.setShowOnlyContainers(true);
After executing the example only containers are displayed.
See also: