MetabaseObjectsListView.editObject

Syntax

editObject(key);

Parameters

key. Object key.

Description

The editObject method enables edit mode for an object.

Example

To execute the example, the HTML page must contain the MetabaseObjectsListView component named list (see Example of Creating the MetabaseObjectsListView Component).

// Get key of the specified object
obj = list.getFocusedObject();
key = obj.getKey();
// Enable edit mode for the object
list.editObject(key);

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

See also:

MetabaseObjectsListView