DashboardViewerApiOptionBuilder.OnItemWidgetUpdating(String) Method

Specifies the JavaScript function or its name executed when the client widget is about to be updated.

Namespace: DevExpress.DashboardAspNetCore

Assembly: DevExpress.Dashboard.v18.1.AspNetCore.dll

Syntax

public DashboardViewerApiOptionBuilder OnItemWidgetUpdating(
    string onItemWidgetUpdating
)

Parameters

Type Name Description
String onItemWidgetUpdating

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.

Note

The dashboard item is re-created when you maximize / restore the item. All events connected with dashboard item life cycle (such as ItemWidgetCreated, ItemWidgetUpdated, etc.) are fired again.

Note

The ItemWidgetUpdating event is not fired for a custom dashboard item.