NavigatorBox.ShowOnlyFolders

Syntax

ShowOnlyFolders: Array;

Description

The ShowOnlyFolders property sets collection that contains keys of the folders to be shown in the component.

Comments

An empty array is set by default: that is, all folders stored in the root folder of repository are shown.

Example

To execute the example, the page must contain NavigatorBox component named navbox (see Example of Creating the NavigatorBox Component. Set the collection of folders to be shown in the component:

navbox.setShowOnlyFolders([119, 51]);

 

After executing the example the component shows only folders with the keys 119 and 51.

See also:

NavigatorBox