DxJSCustomization.OnScriptsLoading Event
Allows you to add custom scripts after the Dashboard component scripts.
Namespace: DevExpress.DashboardBlazor
Assembly: DevExpress.Dashboard.v21.2.Blazor.dll
NuGet Package: DevExpress.Blazor.Dashboard
Declaration
Event Data
The OnScriptsLoading event's data class is ScriptsLoadingEventArgs. The following properties provide information specific to this event:
Property | Description |
---|---|
Scripts |
Provides access to the collection of scripts that the DxDashboard component loads.
|
Remarks
You can use the code below to remove the JQuery library the DxDashboard component loads if you already have JQuery on your page:
public void OnDashboardScriptsLoading(ScriptsLoadingEventArgs e) {
e.Scripts.Remove(ScriptIdentifiers.JQuery);
}
More details: JavaScript Customization of Dashboard Component.
See Also