PrxMdService.setTabSheetAction

Syntax

setTabSheetAction (report: PP.Prx.Report, action: Object, recalc: Boolean, callback: PP.Delegate);

Parameters

report. Report.

action. Action metadata. WSDL structure of TabSheetAction.

recalc. Determines whether to recalculate the report. If the value is True, the report is recalculated.

callback. Callback procedure.

Description

The setTabSheetAction method performs an action in the table.

Comments

This method can be used to emulate clicking hyperlink or picture in the table.

The action parameter can be specified as follows:

For a hyperlink - { hlink: { row: 0, column: 0 } }.

For a picture - { picture: { row: 0, column: 0 } }.

Example

The ReportBox component with the ReportBox name and the service to work with the regular report with the PrxMbService name is required on the HTML page to execute an example (see Example of the ReportBox Component Layout). The table cell with the row index 0 and column index 0 must contain a hyperlink. Click the hyperlink:

//Emulate clicking hyperlink in the cell A1
prxMbService.setTabSheetAction(prxReport, { hlink: { row: 0, column: 0 } });
//Refresh the report
reportBox.refreshAll();

After the function is executed, the hyperlink operation is performed (for example, moving to another report sheet) in the A1 cell.

See also:

PrxMdService