LanerBoxView.ShowStatDialog

Syntax

ShowStatDialog: function(sender, args);

Parameters

sender. Event source.

args. Event information.

Description

The ShowStatDialog event occurs on displaying the Summary Statistics dialog box.

Parameters

The Summary Statistics dialog box is displayed by means of the context menu if the workbook is used as a dashboard block.

Example

Executing the example requires that HTML page contains the WorkbookBox component named workbookBox (see Example of Creating the WorkbookBox Component). Process the ShowStatDialog event:

// Get workbook data area
var dataView = workbookBox.getDataView();
// Get workbook table
var lanerBoxView = dataView.getGridView();
// Process the ShowStatDialog event
lanerBoxView.ShowStatDialog.add(function (sender, args) {
    console.log("Event arguments: ");
    console.log(args);
});
// Initialize event
lanerBoxView.ShowStatDialog.fire(this);

After executing the example the browser console displays event arguments on displaying the Summary Statistics dialog box.

See also:

LanerBoxView