DashboardViewerApiOptionBuilder.OnDashboardTitleToolbarUpdated(String) Method
Specifies the JavaScript function (or its name) executed before the dashboard title toolbar is updated.
Namespace: DevExpress.DashboardAspNetCore
Assembly: DevExpress.Dashboard.v24.2.AspNetCore.dll
Declaration
public DashboardViewerApiOptionBuilder OnDashboardTitleToolbarUpdated(
string onDashboardTitleToolbarUpdated
)
Parameters
Name | Type | Description |
---|---|---|
onDashboardTitleToolbarUpdated | String | The JavaScript function (or its name) executed when the event is raised. |
Returns
Type | Description |
---|---|
DashboardViewerApiOptionBuilder | A reference to this instance after the operation has completed. |
Remarks
Handle the DashboardTitleToolbarUpdated
event to customize the dashboard’s title. For instance, you can add custom command buttons, create additional menus, add static texts, etc. The DashboardTitleToolbarOptions class contains options used to customize a dashboard title’s elements (the ViewerToolbarItem objects).
Note
The corresponding DashboardControl’s API: ViewerApiExtensionOptions.onDashboardTitleToolbarUpdated.