PrxMdService.StartMetabaseRequest

Syntax

StartMetabaseRequest: function (sender, args);

Parameters

sender. Event source.

args. Event information.

Description

The StartMetabaseRequest event occurs at the start of the request to the metabase.

Example

Connection to the metabase and connection of references to the js and css files are required on the HTML page to execute an example (see Example of the ReportBox Component Layout). Create service to work with the regular report:

         prxMbService = new PP.Prx.PrxMdService({
	Metabase: metabase,
	StartMetabaseRequest: function () {
	       alert("Request start")
	  },
	Opened: function () {
	       alert("Report opening")
	  },
	EndMetabaseRequest: function () {
	       alert("Request end")}
	 });

After executing the example appropriate messages are displayed at the beginning and end of metabase request, and after report opening.

See also:

PrxMdService