Skip to main content
All docs
V25.2
  • DxReportDesignerCallbacks.ReportTabClosed Property

    Specifies the JavaScript function that handles the Web Report Designer’s ReportTabClosed client-side event.

    Namespace: DevExpress.Blazor.Reporting

    Assembly: DevExpress.Blazor.Reporting.v25.2.JSBasedControls.Common.dll

    NuGet Package: DevExpress.Blazor.Reporting.JSBasedControls.Common

    Declaration

    [Parameter]
    public string ReportTabClosed { get; set; }

    Property Value

    Type Description
    String

    The name of a JavaScript function used to handle the ReportTabClosed event.

    Remarks

    Handle the ReportTabClosed event to respond to closing a report tab in the Web Report Designer.

    The handler function receives two parameters: the first parameter is the client-side Report Designer (the event sender) and the second parameter is an object with the following property:

    Tab
    Specifies the report tab currently being processed.

    The following example demonstrates how to use this event to show an information message about closing the tab:

    window.DesignerCustomization = {
        onReportTabClosed: function (s, e) {
            alert("The " + e.Tab.displayName() + " tab was closed.");;
        }
    }
    
    See Also