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