Search results

Events

ajaxBeforeLoad

This event will be triggered before AJAX loads.

Name Type Description
headers array AJAX headers, we can pass any custom header through this property
data object To pass the custom data while AJAX post back
reportDesignerToken string Token of report designer
serviceAuthorizationToken string Token of ReportingService
actionType string Action type of AJAX call back

Example

    $("#container").ejReportDesigner({
        ajaxBeforeLoad: function(args) {
            if (args && args.headers) {
                args.headers.push({ 'Key': 'keyCode', 'Value': ("Authorization") });
            }
        }
    });

ajaxError

This event will be triggered when AJAX result is failed.

Example

    $("#container").ejReportDesigner({
        ajaxError: function(args) {
            // Write your block of code
        }
    });

ajaxSuccess

This event will be triggered when AJAX result is succeeded.

Example

    $("#container").ejReportDesigner({
        ajaxSuccess: function(args) {
            // Write your block of code
        }
    });

create

This event will be triggered when the Report Designer widget is created.

Example

    $("#container").ejReportDesigner({
        create: function(args) {
            // Write your block of code
        }
    });

destroy

This event will be triggered when the Report Designer widget is destroyed.

Example

    $("#container").ejReportDesigner({
        destroy: function(args) {
            // Write your block of code
        }
    });

openReportClick

This event will be triggered while clicking open menu items.

Name Type Description
target jQuery DOM of the clicked target
select string Name of selected item

Example

    $("#container").ejReportDesigner({
        openReportClick: function(args) {
            // Write your block of code
        }
    });

reportModified

This event will be triggered when the report is modified.

Name Type Description
isModified boolean Specifies whether the report is modified or not
reportName string Name of Opened Report

Example

    $("#container").ejReportDesigner({
        reportModified: function(args) {
            // Write your block of code
        }
    });

reportOpened

This event will be triggered when the report is opened.

Name Type Description
isServerReport boolean Specifies whether report opened from device or server
reportName string Name of Opened Report

Example

    $("#container").ejReportDesigner({
        reportOpened: function(args) {
            // Write your block of code
        }
    });

reportSaved

This event will be triggered when the report is saved.

Name Type Description
isServerReport boolean Specifies whether report opened from device or server
reportAction string States whether report is downloaded from ReportServer

Example

    $("#container").ejReportDesigner({
        reportSaved: function (args) {
                // Write your block of code
        }
    });

saveReportClick

This event will be triggered when the save menu items are clicked.

Name Type Description
target jQuery DOM of the clicked target
select string Name of selected item

Example

    $("#container").ejReportDesigner({
        saveReportClick: function(args) {
            // Write your block of code
        }
    });

toolbarClick

This event will be triggered while clicking the toolbar items.

Name Type Description
target jQuery DOM of the clicked target
click string Name of clicked item

Example

    $("#container").ejReportDesigner({
        toolbarClick: function(args) {
            // Write your block of code
        }
    });

toolbarRendering

This event will be triggered on rendering the Report Designer toolbar.

Example

    $("#container").ejReportDesigner({
        toolbarRendering: function(args) {
            // Write your block of code
        }
    });

extensionLocaleChanged

This event will be triggered on locale change action in report designer.

Example

    $("#container").ejReportDesigner({
        extensionLocaleChanged: function(args) {
            // Write your block of code
        }
    });