MetabaseObjectsListView.getSelectedKeys

Syntax

getSelectedKeys();

Description

The getSelectedKeys method returns an array of selected object keys.

Example

To execute the example, the HTML page must contain the MetabaseObjectsListView component named list (see Example of Creating the MetabaseObjectsListView Component).

// Select all repository objects
list.selectAll();
// Get object keys
console.log(list.getSelectedKeys());

After executing the example the console displays all object keys.

See also:

MetabaseObjectsListView