DxJSCustomization.Identifier Property
Specifies the name of the object in window that contains the event handlers.
Namespace: DevExpress.DashboardBlazor
Assembly: DevExpress.Dashboard.v25.1.Blazor.dll
NuGet Package: DevExpress.Blazor.Dashboard
Declaration
Property Value
| Type | Description |
|---|---|
| String | An identifier that is a name of the object in |
Remarks
To handle the DashboardControl events, create an object in window and add event handlers. Pass the object name to the Identifier property. In the following code the name is dashboardEvents:
window.dashboardEvents = {
onBeforeRender: (args) => {
// ...
var dashboardControl = args.component;
// ...
toolbox.menuItems.remove(createItem);
// ...
// Adds a new custom toolbar item to the dashboard item caption.
extensions: {
viewerApi: {
// ...
}
}
}
}
See Also