Working with data tables in the web application allows for the following features:
To enable a browser context menu:
Set the EnableNativeContextMenu method to True:
tabSheet.setEnableNativeContextMenu(true)
Write in the PP.xml:
<tabsheet enableNativeContextMenu="true" enableSelection="false" />
Press F12 to open a browser console and enter to it:
PP.App.getModuleObject().getReportBox().getDataView().getGridView().getTabSheet().setEnableNativeContextMenu(true)
To enable browser context menu in the Reports tool, write in the reporter.html file:
function onInit(sender, args)
{
PP.App.getModuleObject().getReportBox().getDataView().getGridView().Rendered.add(onGridRendered, PP.App);
};
function onGridRendered(sender,args)
{
sender.getTabSheet().setEnableNativeContextMenu(true);
sender.getTabSheet().setEnableSelection(false);
};
Path to the file differs depending on the system bitness:
For 32-bit systems: C:\Program Files\Foresight\Prognoz Platform 9 Web Application\App\reporter.html.
For 64-bit systems: C:\Program Files (x86)\Foresight\Prognoz Platform 9 Web Application\App\reporter.html.
After executing one of actions on working with tables a browser context menu is available. In this case operation executed on table data only by means of the Prognoz Platform 9 context menu (for example, working with clipboard, drill down and drill up, summary statistics output, and so on) are not available.

Enable Prognoz Platform 9 context menu
To enable Prognoz Platform 9 context menu:
Set the EnableNativeContextMenu method to False:
tabSheet.setEnableNativeContextMenu(false)
Write in the PP.xml:
<tabsheet enableNativeContextMenu="false" enableSelection="false" />
Press F12 to open a browser console and enter to it:
PP.App.getModuleObject().getReportBox().getDataView().getGridView().getTabSheet().setEnableNativeContextMenu(false)
To enable Prognoz Platform 9 context menu in the Report tool, write to the reporter.html file:
function onInit(sender, args)
{
PP.App.getModuleObject().getReportBox().getDataView().getGridView().Rendered.add(onGridRendered, PP.App);
};
function onGridRendered(sender,args)
{
sender.getTabSheet().setEnableNativeContextMenu(false);
sender.getTabSheet().setEnableSelection(false);
};
Path to the file differs depending on the system bitness:
For 32-bit systems: C:\Program Files\Foresight\Prognoz Platform 9 Web Application\App\reporter.html
For 64-bit systems: C:\Program Files (x86)\Foresight\Prognoz Platform 9 Web Application\App\reporter.html.
After executing one of the operations, Prognoz Platform 9 context menu is available on working with tables and all the operations executed on table data only by means of Prognoz Platform 9 context menu (for example, working with clipboard, drill down and drill up, summary statistics output, and so on).
Toggling between Prognoz Platform 9 and browser menus is available in the Dashboards, Analytical Queries (OLAP), Reports and Time Series Analysis tools.
See also: