SelectedKeys : Array of Number;
The SelectedKeys property contains an array of selected object keys.
Use JSON or the setSelectedKeys method to set the property value and thegetSelectedKeys method to get the property value.
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 selected object keys view.getSelectedKeys(); // -> [16146, 20240]
After executing the example, selected object keys are obtained.
See also: