Skip to main content

DxDocumentViewerCallbacks.CustomizeParameterLookUpSource Property

Specifies the handler for the CustomizeParameterLookUpSource client-side event that allows you to specify look-up values for the parameter editor.

Namespace: DevExpress.Blazor.Reporting

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

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


public string CustomizeParameterLookUpSource { get; set; }

Property Value

Type Description

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


The CustomizeParameterLookUpSource event occurs each time a look-up editor is created for a report parameter.

The handler function receives two parameters - the first parameter is the client-side Document Viewer (the event sender) and the second parameter is an object with the following properties and methods:

  • parameter
    An object that stores information about a parameter.

  • items
    A collection of look-up parameter values.

  • dataSource
    The data source that supplies look-up values to the parameter editor.

The following example reverses the order of look-up values in the parameter editor:

window.ReportingViewerCustomization = {
    onCustomizeParameterLookupSource: function (s, e) {
        if ( == 'parameter1') {
            e.dataSource = new{ store: e.items });
See Also