getSelectedObjects(): Array;
The getSelectedObjects method returns an array of selected objects.
To execute the example, the HTML page must contain the TabSheet component named tabSheet (see Example of Creating the TabSheet Component), and the TabSheetObject component (see the TabSheetObject Constructor page). Select this object. Get identifier of the selected object:
// Get object selection in table var objSelection = tabSheet.getObjectSelection(); // Get array with selected object objArray = objSelection.getSelectedObjects(); // Address object object = objArray[0].Object; // Get object identifier object.getIdent();
After executing the example the browser console displays a message with selected object identifier.
See also: