MetabaseObjectsView.DisplayMode

Syntax

DisplayMode : PP.Mb.Ui.MetabaseDisplayMode;

Description

The DisplayMode property determines display mode for repository object names.

Comments

Use JSON or the setDisplayMode method to set the property value, and the getDisplayMode method to get the property value.

By default, is is set to Both.

Available values are contained in the PP.Mb.Ui.MetabaseDisplayMode enumeration:

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();
// Enable identifier only display mode
view.setDisplayMode(PP.Mb.Ui.MetabaseDisplayMode.Idents);
// Refresh objects
view.refresh();

After executing the example the identifier only display mode is enabled.

See also:

MetabaseObjectsView