MetabaseObjectsView.ShowOnlyContainers

Syntax

ShowOnlyContainers : Boolean;

Description

The ShowOnlyContainers property determines a mode for displaying only containers.

Comments

Use JSON or the setShowOnlyContainers method to set the property value and the getShowOnlyContainers method to get the property value.

Example

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:

MetabaseObjectsView