Navigator.ObjectListObjectsLoaded

Syntax

ObjectListObjectsLoaded: function (sender, args)

Parameters

sender. Event source.

args. Event information.

Description

The ObjectListObjectsLoaded event occurs on loading the list of repository objects.

Comments

The list of repository objects is loaded when the user clicks the Refresh ribbon button.

Example

To execute the example, the HTML page must contain Navigator component named nav (see Example of Creating the Navigator Component). Add a handler for the ObjectListObjectsLoaded event:

nav.ObjectListObjectsLoaded.add(function ()

{

    console.log("Available object types: " + nav.getObjectListFilters())

})

After executing the example clicking the Refresh button in the ribbon outputs the following message to the browser console:

Available types of objects: 1281,1282,1283,1284,1285,1287,1286,5888,2823,2561,2562,2827,8448,5123

The elements listed after the column are the items of the PP.Mb.Ui.MetabaseObjectClass  enumeration: that is, types of objects displayed in the navigator.

See also:

Navigator