MetabaseObjectsView.SelectedKeys

Syntax

SelectedKeys : Array of Number;

Description

The SelectedKeys property contains an array of selected object keys.

Comments

Use JSON or the setSelectedKeys method to set the property value and thegetSelectedKeys method to get the property value.

Example

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:

MetabaseObjectsView