Skip to main content
All docs
V25.2
  • DxReportDesignerDataSourceSettings.AllowEditDataSource Property

    Hides UI elements that allow the user to edit the data source and queries in the Field List.

    Namespace: DevExpress.Blazor.Reporting

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

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

    Declaration

    [Parameter]
    public bool AllowEditDataSource { get; set; }

    Property Value

    Type Description
    Boolean

    true to show UI elements that allow the user to edit the data source and queries in the Field List; otherwise, false.

    Remarks

    Important

    This setting affects only the Report Designer UI and does not restrict access to data or operations. Implement authorization and validation on the server.

    The following image shows the Field List in the Report Designer when the AllowEditDataSource property is set to true (default value):

    Web Report Designer -  The Edit Data Source Button

    The following image shows the Field List in the Report Designer when the AllowEditDataSource property is set to false:

    Web Report Designer -  The Edit Data Source Actions Hidden

    The following elements are hidden:

    Element Description
    Web Report Designer -  Rename Data Source Action Allows the user to rename the data source.
    Web Report Designer -  Rebuild Result Schema Action Allows the user to rebuild the result schema.
    Web Report Designer -  Edit Relationships Action Invokes the Master-Detail Relation Editor.
    Web Report Designer -  Add Query Action Invokes the Create a Query or Select a Stored Procedure wizard page.

    The following elements are hidden for the data source queries:

    Element Description
    Web Report Designer -  Edit Relationships Action Invokes the Create a Query or Select a Stored Procedure wizard page.
    Web Report Designer -  Delete Query Action Removes the selected query.
    See Also