MetabaseObjectsView.ShowEmptyFolder

Syntax

ShowEmptyFolder : Boolean;

Description

The ShowEmptyFolder property determines whether empty folders are displayed.

Comments

The object contents is taken into account by the MetabaseObjectsView.Filter filter.

Use JSON or the setShowEmptyFolder method to set the property value and the getShowEmptyFolder 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();
// Get whether empty folders are displayed
view.getShowEmptyFolder();
// -> true

After executing the example it is determined whether empty folders are displayed.

See also:

MetabaseObjectsView