PP.Prx.Ui.XlsExportDialog(settings)
settings. JSON object that contains component settings.
The RtfExportDialog constructor creates a dialog box to export a report to XLS.
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 xlsExpDialog = new PP.Prx.Ui.XlsExportDialog();
function ShowDialog() {
xlsExpDialog.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: