OnCellDoubleClick (Method)

Applies To:

Dashboard Pivot Embedded Section Object (ESO) in Active Mode only, EventScript object

Description:

Setting the OnCellDoubleClick (Method) is equivalent to repeating the action of clicking the last cell clicked in the user interface. This method performs an action which does not persist with (dirty) the Interactive Reporting document file or application. This method does not allow the user to select and individual cell. If the user single clicks cells, the selected row are highlighted in black. If the user double clicks cells, the selected row are highlighted in white.

The OnCellDoubleClick (Method) is only available for Interactive Reporting Studio and Interactive Reporting Web Client. It is not supported in the EPM Workspace and Jobs/Scheduler.

Syntax:

No arguments

Example:

This example shows how to execute an OnCellDoubleClick (Method) when a command button is clicked. The script includes a try-catch statement if the action is tried and then fails:

var ActionName = "OnCellDoubleClick"
TextBox1.Text ="Start " + ActionName 
try
{
ActiveSection.Shapes["Pivot1"].OnCellDoubleClick()
}
catch(e)
{
TextBox2.Text = "Caught: " + e.toString()
}
TextBox1.Text ="End " + ActionName