Skip to main content
A newer version of this page is available. .
All docs
V21.2

DxDataSourceWizard.EnableCustomSql Property

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

Namespace: DevExpress.DashboardBlazor

Assembly: DevExpress.Dashboard.v21.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