PP.Ui.ConfigClass.setTabSheet

Syntax

setTabSheet (value);

Parameters

value. JSON object that contains table parameters.

Description

The setTabSheet method sets table parameters.

Comments

The method sets a JSON object with the following fields:

Field name Type Brief description
EnableNativeContextMenu Boolean Determines whether browser context menu is available for the table. Available Values:
  • true. Browser context menu is available.

  • False. Browser context menu is not available (default).

EnableSelection Boolean Determines whether manual selection of table cells is available. Available Values:
  • true. Selection is available (default).

  • false. Selection is not available.

Example

The following code is executed in the browser console on the page of Foresight. Analytics Platform standard web application with open express report, workbook or dashboard.

//Get web application settings
conf = PP.Ui.getConfig();
//Indicate that browser context menu can be opened for the table
conf.setTabSheet({EnableNativeContextMenu: true});

After executing the example browser context menu is available for the table.

See also:

PP.Ui.ConfigClass