DashboardViewerApiOptionBuilder.OnItemWidgetCreated(String) Method

Specifies the JavaScript function (or its name) executed when the client widget is created.

Namespace: DevExpress.DashboardAspNetCore

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

Declaration

public DashboardViewerApiOptionBuilder OnItemWidgetCreated(
    string onItemWidgetCreated
)
Public Function OnItemWidgetCreated(
    onItemWidgetCreated As String
) As DashboardViewerApiOptionBuilder

Parameters

Type Name Description
String onItemWidgetCreated

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

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 ItemWidgetCreated event is not fired for a custom dashboard item.

See Also