PP.Prx.Ui.MhtExportDialog(settings)
settings. JSON object that contains component settings.
The MhtExportDialog constructor creates a dialog box to export a report to MHT.
To execute this example, in the HEAD tag add links to the following JS and CSS files:
PP.js.
PP.css.
PP.Metabase.js.
PP.Report.js.
PP.Report.css.
resources.ru.js.
Add the following JavaScript code:
var mhtExpDialog = new PP.Prx.Ui.MhtExportDialog(); function ShowDialog() { mhtExpDialog.show(10, 30) } var btn = new PP.Ui.Button({ ParentNode: document.getElementById("btn1"), Click: ShowDialog, Content: "Open" })
After executing the example the Open button is placed on the page; clicking this button opens the following dialog box:
See also: