editObject(key);
key. Object key.
The editObject method enables edit mode for an object.
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: