Skip to main content

DashboardViewerApiOptionBuilder.OnItemClick(String) Method

Specifies the JavaScript function (or its name) executed when an end-user clicks a dashboard item.

Namespace: DevExpress.DashboardAspNetCore

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

NuGet Package: DevExpress.AspNetCore.Dashboard

Declaration

public DashboardViewerApiOptionBuilder OnItemClick(
    string onItemClick
)

Parameters

Name Type Description
onItemClick 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.

See Also