NavigatorBox.ObjectListContextMenu

Syntax

ObjectListContextMenu: function (sender, args);

Parameters

sender. Event source.

args. Event information.

Description

The ObjectListContextMenu event occurs on opening context menu for 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 ObjectListContextMenu event:

     navbox.ObjectListContextMenu.add(function ()

        {

            navbox.setShowNavigationPanel(false);

            navbox.openParentFolder();

        });

After executing the example on opening context menu for a list object, the tree of folders is hidden and the parent folder of the selected object is opened.

See also:

NavigatorBox