PrxMdService.saveData

Syntax

saveData (report, callback);

Parameters

report. Report which modified data must to be saved.

callback. The callback procedure, the instance of the PP.Delegate class.

Description

The saveData method saves modified data to the report.

Example

To execute this example, the HTML page must contain the ReportBox component named reportBox and the service used to work with a regular report named prxMbService (see Example of the ReportBox Component Layout). Add the Save function:

function save() {

         prxMbService.saveData(prxReport);

         reportBox.refreshAll();

}

Modified report data are saved after the loadData function execution.

See also:

PrxMdService