CommonResources.QueryBuilderJS Field
Returns an identifier for the Query Builder client script.
Namespace: DevExpress.Blazor
Assembly: DevExpress.Blazor.Resources.v24.2.dll
NuGet Package: DevExpress.Blazor.Resources
Declaration
public static readonly DxResource QueryBuilderJS
Field Value
Type | Description |
---|---|
DxResource | The Query Builder script. |
Remarks
The Query Builder script is required for Blazor Dashboard and Report Designer components. The Resource Manager automatically registers this script if your project includes the DevExpress.Blazor.Dashboard or DevExpress.Blazor.Reporting.JSBasedControls NuGet package.
The following table lists public DevExpress resources, their positions among other scripts, and NuGet packages that include these scripts:
Position | DevExpress Resource | NuGet Packages |
---|---|---|
0 | DevExpress.Blazor.Dashboard | |
150 | DevExpress.Blazor | |
200 | DevExpress.Blazor | |
300 | DevExpress.Blazor.Dashboard | |
400 | DevExpress.Blazor.Dashboard | |
500 | DevExpress.Blazor.Dashboard | |
600 | DevExpress.Blazor.Dashboard | |
700 | DevExpress.Blazor.Reporting.JSBasedControls | |
700 |
| DevExpress.Blazor.Dashboard |
800 | DevExpress.Blazor.Reporting.JSBasedControls | |
800 | DevExpress.Blazor.Dashboard |
The following example unregisters the Query Builder resource. It’s unnecessary if your application does not use a Dashboard or Report Designer. Note that the project can still include a Report Viewer since it does not require a Query Builder.
@DxResourceManager.RegisterScripts((config) => {
config.Unregister(CommonResources.QueryBuilderJS);
})
Refer to the following topic for more information: DxResourceManager.