PP.Ui.ConfigClass.getTabSheet

Syntax

getTabSheet ();

Description

The getTabSheet method returns table parameters.

Comments

The method returns 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.

Field values can be set using the set<Field name> method, and obtained using the get<Field name> method.

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();
//Enable opening browser context menu for the table
conf.getTabSheet().setEnableNativeContextMenu(true);

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

See also:

PP.Ui.ConfigClass