MetabaseObjectsView.editObject

Syntax

editObject(key);

Parameters

key. Number. Object key.

Description

The editObject method enables edit mode for an object.

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();
// Get object key
obj = view.getFocusedObject();
key = obj.getKey();
// Enable edit mode for object
view.editObject(key);

After executing the example the edit mode is enabled for the selected object.

See also:

MetabaseObjectsView