The requested page is not available for the requested platform. You are viewing the content for Default platform.

ReportDesignerClientSideEventsBuilder.BeforeRender(String) Method

Sets the name of the JavaScript function or the entire code that will handle the Web Report Designer's BeforeRender client-side event.

Namespace: DevExpress.AspNetCore.Reporting.ReportDesigner

Assembly: DevExpress.AspNetCore.Reporting.v18.2.dll

Declaration

public ReportDesignerClientSideEventsBuilder BeforeRender(
    string callback
)
Public Function BeforeRender(
    callback As String
) As ReportDesignerClientSideEventsBuilder

Parameters

Name Type Description
callback String

The name of a JavaScript function or the entire JavaScript function code used to handle the BeforeRender event.

Returns

Type Description
ReportDesignerClientSideEventsBuilder

A ReportDesignerClientSideEventsBuilder that can be used to further configure the Report Designer Client Side Events.

Remarks

The BeforeRender event enables you to customize the Web Report Designer's View Model before it is bound to an HTML element and/or Knockout is activated. When implementing a handling function, use the objects passed as parameters. The first parameter passes the event sender that is the ClientReportDesigner object. The second one provides access to the current View Model of the Web Report Designer.

See Also