Skip to main content
All docs
V23.2

DxDataSourceWizard.EnableCustomSql Property

Allows a user to specify a custom SQL string in the Data Source wizard.

Namespace: DevExpress.DashboardBlazor

Assembly: DevExpress.Dashboard.v23.2.Blazor.dll

NuGet Package: DevExpress.Blazor.Dashboard

Declaration

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

Property Value

Type Description
Boolean

true to allow a user to specify a custom SQL string in the Data Source wizard; otherwise, false.

Remarks

Executing custom SQL queries is forbidden by default. Use the AllowExecutingCustomSql property to allow the Dashboard component to execute SQL queries on the server side.

Warning

The use of custom SQL queries can lead to inadvertent or unauthorized modifications to your data/database structure. Ensure that you follow best practices and implement the appropriate user read/write privileges at database level.

See Also