NavigatorBox.OpenObjects

Syntax

OpenObjects: function (sender, args);

Parameters

sender. Event source.

args. Event information.

Description

The OpenObjects event occurs on double clicking an object in the list.

Example

To execute the example, the page must contain NavigatorBox component named navbox (see Example of Creating the NavigatorBox Component). Add a handler for the OpenObjects event:

 navbox.OpenObjects.add(function ()

 {

    console.log(navbox.getObjectsListRootMbObject().getName());

    navbox.setObjectListMode(PP.Mb.Ui.NavigatorBox.ObjectListMode.Large)

 });

After executing the example double clicking a list object displays a message containing name of parent folder of the selected object to the browser console and displays objects as large icons.

See also:

NavigatorBox